public class ReactiveCassandraRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>
extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
FactoryBean
to create
ReactiveCassandraRepository
instances.ReactiveSortingRepository
,
RxJava2SortingRepository
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
ReactiveCassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Create a new
ReactiveCassandraRepositoryFactoryBean for the given repository interface. |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected Optional<org.springframework.data.repository.query.QueryMethodEvaluationContextProvider> |
createDefaultQueryMethodEvaluationContextProvider(ListableBeanFactory beanFactory) |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory() |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
getFactoryInstance(ReactiveCassandraOperations operations)
Creates and initializes a
RepositoryFactorySupport instance. |
protected void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
void |
setReactiveCassandraOperations(ReactiveCassandraOperations operations)
Configures the
ReactiveCassandraOperations used for Cassandra data access operations. |
addRepositoryFactoryCustomizer, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
public ReactiveCassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
ReactiveCassandraRepositoryFactoryBean
for the given repository interface.repositoryInterface
- must not be null.public void setReactiveCassandraOperations(ReactiveCassandraOperations operations)
ReactiveCassandraOperations
used for Cassandra data access operations.operations
- ReactiveCassandraOperations
used to perform CRUD, Query and general data access
operations on Apache Cassandra.protected void setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext)
protected final org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
protected Optional<org.springframework.data.repository.query.QueryMethodEvaluationContextProvider> createDefaultQueryMethodEvaluationContextProvider(ListableBeanFactory beanFactory)
protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance(ReactiveCassandraOperations operations)
RepositoryFactorySupport
instance.operations
- public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,ID>,S,ID>
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.