Class EnhancedRedisQueryEngine

java.lang.Object
org.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain,Comparator<?>>
com.redis.om.spring.EnhancedRedisQueryEngine

public class EnhancedRedisQueryEngine extends org.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain,Comparator<?>>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EnhancedRedisQueryEngine(org.springframework.data.keyvalue.core.CriteriaAccessor<org.springframework.data.redis.repository.query.RedisOperationChain> criteriaAccessor, org.springframework.data.keyvalue.core.SortAccessor<Comparator<?>> sortAccessor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    count(org.springframework.data.redis.repository.query.RedisOperationChain criteria, String keyspace)
     
    execute(org.springframework.data.redis.repository.query.RedisOperationChain criteria, Comparator<?> sort, long offset, int rows, String keyspace)
     
    <T> Collection<T>
    execute(org.springframework.data.redis.repository.query.RedisOperationChain criteria, Comparator<?> sort, long offset, int rows, String keyspace, Class<T> type)
     

    Methods inherited from class org.springframework.data.keyvalue.core.QueryEngine

    count, execute, execute, getAdapter, getRequiredAdapter, registerAdapter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnhancedRedisQueryEngine

      public EnhancedRedisQueryEngine()
    • EnhancedRedisQueryEngine

      public EnhancedRedisQueryEngine(org.springframework.data.keyvalue.core.CriteriaAccessor<org.springframework.data.redis.repository.query.RedisOperationChain> criteriaAccessor, org.springframework.data.keyvalue.core.SortAccessor<Comparator<?>> sortAccessor)
  • Method Details

    • execute

      public <T> Collection<T> execute(org.springframework.data.redis.repository.query.RedisOperationChain criteria, Comparator<?> sort, long offset, int rows, String keyspace, Class<T> type)
      Overrides:
      execute in class org.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain,Comparator<?>>
    • execute

      public Collection<?> execute(org.springframework.data.redis.repository.query.RedisOperationChain criteria, Comparator<?> sort, long offset, int rows, String keyspace)
      Specified by:
      execute in class org.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain,Comparator<?>>
    • count

      public long count(org.springframework.data.redis.repository.query.RedisOperationChain criteria, String keyspace)
      Specified by:
      count in class org.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain,Comparator<?>>