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 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, register
public 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 PartTree getPartTree()
PartTree
object consisting of the parts of the (OQL) query.@NonNull protected GemfireTemplate getTemplate()
GemfireTemplate
used to perform all data access and query operations.GemfireTemplate
used to perform all data access and query operations.GemfireTemplate
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.