public abstract class GemfireRepositoryQuery extends Object implements RepositoryQuery
RepositoryQuery implementations.
GemfireQueryMethod,
RepositoryQuery| Constructor and Description |
|---|
GemfireRepositoryQuery(GemfireQueryMethod queryMethod)
Constructs a new instance of
GemfireRepositoryQuery initialized with
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, waitexecutepublic GemfireRepositoryQuery(GemfireQueryMethod queryMethod)
GemfireRepositoryQuery initialized with
the given GemfireQueryMethod.queryMethod - GemfireQueryMethod capturing the meta-data
for the Repository QueryMethod; must not be null.IllegalArgumentException - if query method is null.GemfireQueryMethodpublic QueryMethod getQueryMethod()
getQueryMethod in interface RepositoryQueryprotected QueryPostProcessor<?,String> getQueryPostProcessor()
QueryPostProcessors, which are applied
to OQL queries prior to execution.QueryPostProcessors.QueryPostProcessorpublic 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.