public class CassandraRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
CassandraRepository
instances.Constructor and Description |
---|
CassandraRepositoryFactory(CassandraOperations operations)
Create a new
CassandraRepositoryFactory with the given CassandraOperations . |
Modifier and Type | Method and Description |
---|---|
<T,ID> CassandraEntityInformation<T,ID> |
getEntityInformation(Class<T> domainClass) |
protected org.springframework.data.projection.ProjectionFactory |
getProjectionFactory(ClassLoader classLoader,
BeanFactory beanFactory) |
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation information) |
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
public CassandraRepositoryFactory(CassandraOperations operations)
CassandraRepositoryFactory
with the given CassandraOperations
.operations
- must not be nullprotected org.springframework.data.projection.ProjectionFactory getProjectionFactory(ClassLoader classLoader, BeanFactory beanFactory)
getProjectionFactory
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation information)
getTargetRepository
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
public <T,ID> CassandraEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.