public class CachingKeyValuePartTreeQuery extends KeyValuePartTreeQuery
KeyValuePartTreeQuery implementation deriving queries from PartTree using a predefined
AbstractQueryCreator that caches the once created query.KeyValuePartTreeQuery.QueryCreatorFactory<T extends org.springframework.data.repository.query.parser.AbstractQueryCreator>| Constructor and Description |
|---|
CachingKeyValuePartTreeQuery(org.springframework.data.repository.query.QueryMethod queryMethod,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider,
KeyValueOperations keyValueOperations,
Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator) |
| Modifier and Type | Method and Description |
|---|---|
protected KeyValueQuery<?> |
prepareQuery(Object[] parameters) |
createQuery, doExecute, execute, getQueryMethod, prepareQuerypublic CachingKeyValuePartTreeQuery(org.springframework.data.repository.query.QueryMethod queryMethod,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider,
KeyValueOperations keyValueOperations,
Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator)
protected KeyValueQuery<?> prepareQuery(Object[] parameters)
prepareQuery in class KeyValuePartTreeQueryCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.