Package com.redis.om.spring
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
ConstructorsConstructorDescriptionEnhancedRedisQueryEngine(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 TypeMethodDescriptionlongcount(org.springframework.data.redis.repository.query.RedisOperationChain criteria, String keyspace) Collection<?>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
-
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:
executein classorg.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:
executein classorg.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:
countin classorg.springframework.data.keyvalue.core.QueryEngine<org.springframework.data.redis.core.RedisKeyValueAdapter,org.springframework.data.redis.repository.query.RedisOperationChain, Comparator<?>>
-