public class KeyValueRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
RepositoryFactorySupport specific of handing
KeyValueRepository.org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor| Constructor and Description |
|---|
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations. |
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations,
Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type. |
KeyValueRepositoryFactory(KeyValueOperations keyValueOperations,
Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator,
Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType)
Creates a new
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type. |
| Modifier and Type | Method and Description |
|---|---|
<T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> |
getEntityInformation(Class<T> domainClass) |
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 repositoryInformation) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, 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 org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator)
KeyValueRepositoryFactory for the given KeyValueOperations and
AbstractQueryCreator-type.keyValueOperations - must not be null.queryCreator - must not be null.public KeyValueRepositoryFactory(KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator, Class<? extends org.springframework.data.repository.query.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> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected 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.RepositoryFactorySupportCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.