public class CassandraRepositoryFactoryBean<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 CassandraRepository instances.OBJECT_TYPE_ATTRIBUTE| Constructor and Description |
|---|
CassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Create a new
CassandraRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory() |
void |
setCassandraTemplate(CassandraTemplate cassandraTemplate)
Configures the
CassandraTemplate used for Cassandra data access operations. |
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic CassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
CassandraRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
public void setCassandraTemplate(CassandraTemplate cassandraTemplate)
CassandraTemplate used for Cassandra data access operations.cassandraTemplate - CassandraTemplate used to perform CRUD, Query and general data access operations
on Apache Cassandra.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet 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.