public class CachingKeyValuePartTreeQuery extends KeyValuePartTreeQuery
KeyValuePartTreeQuery
implementation deriving queries from PartTree
using a predefined
AbstractQueryCreator
that caches the once created query.Constructor and Description |
---|
CachingKeyValuePartTreeQuery(org.springframework.data.repository.query.QueryMethod queryMethod,
org.springframework.data.repository.query.EvaluationContextProvider 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, prepareQuery
public CachingKeyValuePartTreeQuery(org.springframework.data.repository.query.QueryMethod queryMethod, org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider, KeyValueOperations keyValueOperations, Class<? extends org.springframework.data.repository.query.parser.AbstractQueryCreator<?,?>> queryCreator)
protected KeyValueQuery<?> prepareQuery(Object[] parameters)
prepareQuery
in class KeyValuePartTreeQuery
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.