public class KeyValueRepositoryFactory extends RepositoryFactorySupport
RepositoryFactorySupport specific of handing
KeyValueRepository.RepositoryFactorySupport.QueryExecutorMethodInterceptor| Constructor and Description |
|---|
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations. |
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations,
Class<? extends AbstractQueryCreator<?,?>> queryCreator)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type. |
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations,
Class<? extends AbstractQueryCreator<?,?>> queryCreator,
Class<? extends RepositoryQuery> repositoryQueryType)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type. |
| Modifier and Type | Method and Description |
|---|---|
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass) |
protected QueryLookupStrategy |
getQueryLookupStrategy(QueryLookupStrategy.Key key,
EvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata metadata) |
protected Object |
getTargetRepository(RepositoryInformation repositoryInformation) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic KeyValueRepositoryFactory(KeyValueOperations keyValueOperations)
KeyValueRepositoryFactory for the given KeyValueOperations.keyValueOperations - must not be null.public KeyValueRepositoryFactory(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?,?>> queryCreator)
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type.keyValueOperations - must not be null.queryCreator - defaulted to DEFAULT_QUERY_CREATOR if null.public KeyValueRepositoryFactory(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?,?>> queryCreator, Class<? extends RepositoryQuery> repositoryQueryType)
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type.keyValueOperations - must not be null.queryCreator - must not be null.repositoryQueryType - must not be null.public <T,ID extends Serializable> EntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class RepositoryFactorySupportprotected Object getTargetRepository(RepositoryInformation repositoryInformation)
getTargetRepository in class RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
getRepositoryBaseClass in class RepositoryFactorySupportprotected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key, EvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy in class RepositoryFactorySupportCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.