public abstract class GemfireRepositoryQuery extends Object implements RepositoryQuery
RepositoryQuery
implementations.
GemfireQueryMethod
,
RepositoryQuery
Constructor and Description |
---|
GemfireRepositoryQuery(GemfireQueryMethod queryMethod)
Creates a new
GemfireRepositoryQuery using the given GemfireQueryMethod . |
Modifier and Type | Method and Description |
---|---|
QueryMethod |
getQueryMethod() |
protected QueryPostProcessor<?,String> |
getQueryPostProcessor()
Returns a reference to the composed
QueryPostProcessors , which are applied
to OQL queries prior to execution. |
GemfireRepositoryQuery |
register(QueryPostProcessor<?,String> queryPostProcessor)
Registers the given
QueryPostProcessor to use for processing OQL queries
generated from Repository query methods . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public GemfireRepositoryQuery(GemfireQueryMethod queryMethod)
GemfireRepositoryQuery
using the given GemfireQueryMethod
.queryMethod
- must not be null.public QueryMethod getQueryMethod()
getQueryMethod
in interface RepositoryQuery
protected QueryPostProcessor<?,String> getQueryPostProcessor()
QueryPostProcessors
, which are applied
to OQL queries prior to execution.QueryPostProcessors
.QueryPostProcessor
public GemfireRepositoryQuery register(QueryPostProcessor<?,String> queryPostProcessor)
QueryPostProcessor
to use for processing OQL queries
generated from Repository
query methods
.
Registration always links the given QueryPostProcessor
to the end of the processing chain
of previously registered QueryPostProcessors
. In other words, the given
QueryPostProcessor
argument will process OQL queries only after all
QueryPostProcessor
registered before it.queryPostProcessor
- QueryPostProcessor
to register.GemfireRepositoryQuery
.QueryPostProcessor.processBefore(QueryPostProcessor)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.