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 |
AbstractReactiveCouchbaseDataConfiguration.reactiveRepositoryOperationsMapping(RxJavaCouchbaseTemplate couchbaseTemplate)
Creates the
ReactiveRepositoryOperationsMapping bean which will be used by the framework to choose which
RxJavaCouchbaseOperations should back which ReactiveCouchbaseRepository . |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractReactiveCouchbaseDataConfiguration.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,
RxJavaCouchbaseOperations operations)
Add a highest priority mapping that will associate a specific repository interface with a given
RxJavaCouchbaseOperations . |
ReactiveRepositoryOperationsMapping |
ReactiveRepositoryOperationsMapping.mapEntity(Class<?> entityClass,
RxJavaCouchbaseOperations operations)
Add a middle priority mapping that will associate any un-mapped repository that deals with the given domain type
Class with a given
CouchbaseOperations . |
ReactiveRepositoryOperationsMapping |
ReactiveRepositoryOperationsMapping.setDefault(RxJavaCouchbaseOperations aDefault)
Change the default reactive couchbase operations in an existing mapping.
|
Modifier and Type | Method and Description |
---|---|
protected ReactiveCouchbaseRepositoryFactory |
ReactiveCouchbaseRepositoryFactoryBean.getFactoryInstance(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping,
IndexManager indexManager)
Get the factory instance for the operations.
|
void |
ReactiveCouchbaseRepositoryFactoryBean.setCouchbaseOperationsMapping(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping) |
Constructor and Description |
---|
ReactiveCouchbaseRepositoryFactory(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping,
IndexManager indexManager)
Create a new factory.
|
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.