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:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware
public class RedisRepositoryFactory
extends org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
RepositoryFactorySupport specific of handing Redis
KeyValueRepository.- Since:
- 1.7
- Author:
- Christoph Strobl, Oliver Gierke, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionRedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations) RedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator) RedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator, Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType) -
Method Summary
Modifier and TypeMethodDescription<T,ID> org.springframework.data.repository.core.EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) protected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragmentsgetRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata) Methods inherited from class org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
getQueryLookupStrategy, getRepositoryBaseClass, getRepositoryFragments, getTargetRepositoryMethods 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
public RedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations) - Parameters:
keyValueOperations-- See Also:
-
KeyValueRepositoryFactory(KeyValueOperations)
-
RedisRepositoryFactory
public RedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator) - Parameters:
keyValueOperations-queryCreator-- See Also:
-
KeyValueRepositoryFactory(KeyValueOperations, Class)
-
RedisRepositoryFactory
public RedisRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?, ?>> queryCreator, Class<? extends org.springframework.data.repository.query.RepositoryQuery> repositoryQueryType) - Parameters:
keyValueOperations-queryCreator-repositoryQueryType-- See Also:
-
KeyValueRepositoryFactory(KeyValueOperations, Class, Class)
-
-
Method Details
-
getRepositoryFragments
protected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments getRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata) - Overrides:
getRepositoryFragmentsin classorg.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
-
getEntityInformation
public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass) - Overrides:
getEntityInformationin classorg.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
-