public class PartTreeGemfireRepositoryQuery extends GemfireRepositoryQuery
GemfireRepositoryQuery backed by a PartTree, deriving an OQL query
from the backing QueryMethod's name/signature.GemfireTemplate,
GemfireRepositoryQuery,
QueryMethod,
RepositoryQuery,
Part,
PartTree| Constructor and Description |
|---|
PartTreeGemfireRepositoryQuery(GemfireQueryMethod queryMethod,
GemfireTemplate template)
Constructs a new instance of
PartTreeGemfireRepositoryQuery initialized with
the given GemfireQueryMethod and GemfireTemplate. |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Object[] arguments) |
protected org.springframework.data.repository.query.parser.PartTree |
getPartTree()
Returns a
PartTree object consisting of the parts of the (OQL) query. |
protected GemfireTemplate |
getTemplate()
Returns a reference to the
GemfireTemplate used to perform all data access and query operations. |
getGemfireQueryMethod, getLogger, getQueryMethod, getQueryPostProcessor, registerpublic PartTreeGemfireRepositoryQuery(GemfireQueryMethod queryMethod, GemfireTemplate template)
PartTreeGemfireRepositoryQuery initialized with
the given GemfireQueryMethod and GemfireTemplate.queryMethod - GemfireQueryMethod implementing the RepositoryQuery;
must not be null.template - GemfireTemplate used to execute QOL queries;
must not be null.IllegalArgumentException - if GemfireQueryMethod or GemfireTemplate are null.GemfireQueryMethod,
GemfireTemplate@NonNull protected org.springframework.data.repository.query.parser.PartTree getPartTree()
PartTree object consisting of the parts of the (OQL) query.PartTree object consisting of the parts of the (OQL) query.PartTree@NonNull protected GemfireTemplate getTemplate()
GemfireTemplate used to perform all data access and query operations.GemfireTemplate used to perform all data access and query operations.GemfireTemplateCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.