Package | Description |
---|---|
org.springframework.data.couchbase.config |
This package contains all classes needed for specific configuration of Spring Data Couchbase.
|
org.springframework.data.couchbase.repository.config |
This package contains the support classes to configure repositories in the context of Couchbase.
|
org.springframework.data.couchbase.repository.support |
This package contains the Couchbase implementations to support the Spring Data repository abstraction.
|
Modifier and Type | Method and Description |
---|---|
ReactiveRepositoryOperationsMapping |
AbstractCouchbaseConfiguration.reactiveCouchbaseRepositoryOperationsMapping(ReactiveCouchbaseTemplate reactiveCouchbaseTemplate) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCouchbaseConfiguration.configureReactiveRepositoryOperationsMapping(ReactiveRepositoryOperationsMapping mapping)
In order to customize the mapping between repositories/entity types to couchbase templates, use the provided
mapping's api (eg. in order to have different buckets backing different repositories).
|
Modifier and Type | Method and Description |
---|---|
ReactiveRepositoryOperationsMapping |
ReactiveRepositoryOperationsMapping.map(Class<?> repositoryInterface,
ReactiveCouchbaseOperations operations)
Add a highest priority mapping that will associate a specific repository interface with a given
ReactiveCouchbaseOperations . |
ReactiveRepositoryOperationsMapping |
ReactiveRepositoryOperationsMapping.mapEntity(Class<?> entityClass,
ReactiveCouchbaseOperations operations)
Add a middle priority mapping that will associate any un-mapped repository that deals with the given domain type
Class with a given
ReactiveCouchbaseOperations . |
ReactiveRepositoryOperationsMapping |
ReactiveRepositoryOperationsMapping.setDefault(ReactiveCouchbaseOperations aDefault)
Change the default reactive couchbase operations in an existing mapping.
|
Modifier and Type | Method and Description |
---|---|
protected ReactiveCouchbaseRepositoryFactory |
ReactiveCouchbaseRepositoryFactoryBean.getFactoryInstance(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping)
Get the factory instance for the operations.
|
void |
ReactiveCouchbaseRepositoryFactoryBean.setReactiveCouchbaseOperationsMapping(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping) |
Constructor and Description |
---|
ReactiveCouchbaseRepositoryFactory(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping)
Create a new factory.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.