Uses of Class
org.springframework.data.couchbase.repository.config.RepositoryOperationsMapping
Packages that use RepositoryOperationsMapping
Package
Description
This package contains all classes needed for specific configuration of Spring Data Couchbase.
This package contains the support classes to configure repositories in the context of Couchbase.
This package contains the Couchbase implementations to support the Spring Data repository abstraction.
-
Uses of RepositoryOperationsMapping in org.springframework.data.couchbase.config
Methods in org.springframework.data.couchbase.config that return RepositoryOperationsMappingModifier and TypeMethodDescriptionAbstractCouchbaseConfiguration.couchbaseRepositoryOperationsMapping
(CouchbaseTemplate couchbaseTemplate) Methods in org.springframework.data.couchbase.config with parameters of type RepositoryOperationsMappingModifier and TypeMethodDescriptionprotected void
AbstractCouchbaseConfiguration.configureRepositoryOperationsMapping
(RepositoryOperationsMapping 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). -
Uses of RepositoryOperationsMapping in org.springframework.data.couchbase.repository.config
Methods in org.springframework.data.couchbase.repository.config that return RepositoryOperationsMappingModifier and TypeMethodDescriptionRepositoryOperationsMapping.map
(Class<?> repositoryInterface, CouchbaseOperations couchbaseOperations) Add a highest priority mapping that will associate a specific repository interface with a givenCouchbaseOperations
.RepositoryOperationsMapping.mapEntity
(Class<?> entityClass, CouchbaseOperations couchbaseOperations) Add a middle priority mapping that will associate any un-mapped repository that deals with the given domain type Class with a givenCouchbaseOperations
.RepositoryOperationsMapping.setDefault
(CouchbaseOperations aDefault) Change the default couchbase operations in an existing mapping. -
Uses of RepositoryOperationsMapping in org.springframework.data.couchbase.repository.support
Methods in org.springframework.data.couchbase.repository.support with parameters of type RepositoryOperationsMappingModifier and TypeMethodDescriptionprotected CouchbaseRepositoryFactory
CouchbaseRepositoryFactoryBean.getFactoryInstance
(RepositoryOperationsMapping operationsMapping) Get the factory instance for the operations.void
CouchbaseRepositoryFactoryBean.setCouchbaseOperationsMapping
(RepositoryOperationsMapping mapping) Constructors in org.springframework.data.couchbase.repository.support with parameters of type RepositoryOperationsMappingModifierConstructorDescriptionCouchbaseRepositoryFactory
(RepositoryOperationsMapping couchbaseOperationsMapping) Create a new factory.