Class RedisRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
org.springframework.data.redis.repository.support.RedisRepositoryFactory
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
RepositoryFactorySupport
specific of handing Redis
KeyValueRepository
.- Since:
- 1.7
- Author:
- Christoph Strobl, Oliver Gierke, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionRedisRepositoryFactory
(KeyValueOperations keyValueOperations) RedisRepositoryFactory
(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?, ?>> queryCreator) RedisRepositoryFactory
(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?, ?>> queryCreator, Class<? extends RepositoryQuery> repositoryQueryType) -
Method Summary
Modifier and TypeMethodDescription<T,
ID> EntityInformation<T, ID> getEntityInformation
(Class<T> domainClass) getRepositoryFragments
(RepositoryMetadata metadata) Methods inherited from class org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
getQueryLookupStrategy, getRepositoryBaseClass, getRepositoryFragments, getTargetRepository
Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
-
Constructor Details
-
RedisRepositoryFactory
- Parameters:
keyValueOperations
-- See Also:
-
RedisRepositoryFactory
public RedisRepositoryFactory(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?, ?>> queryCreator) - Parameters:
keyValueOperations
-queryCreator
-- See Also:
-
RedisRepositoryFactory
public RedisRepositoryFactory(KeyValueOperations keyValueOperations, Class<? extends AbstractQueryCreator<?, ?>> queryCreator, Class<? extends RepositoryQuery> repositoryQueryType) - Parameters:
keyValueOperations
-queryCreator
-repositoryQueryType
-- See Also:
-
-
Method Details
-
getRepositoryFragments
protected RepositoryComposition.RepositoryFragments getRepositoryFragments(RepositoryMetadata metadata) - Overrides:
getRepositoryFragments
in classKeyValueRepositoryFactory
-
getEntityInformation
- Overrides:
getEntityInformation
in classKeyValueRepositoryFactory
-