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

    Constructors
    Constructor
    Description
    RedisRepositoryFactory(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 Type
    Method
    Description
    <T, ID> org.springframework.data.repository.core.EntityInformation<T,ID>
    getEntityInformation(Class<T> domainClass)
     
    protected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments
    getRepositoryFragments(org.springframework.data.repository.core.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getRepositoryFragments in class org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory
    • getEntityInformation

      public <T, ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
      Overrides:
      getEntityInformation in class org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactory