public class MethodStoreQuery extends AbstractStoreQuery
AbstractStoreQuery.AbstractExecutorStoreQuery.Executor, StoreQuery.Range| Modifier and Type | Field and Description |
|---|---|
static String |
LANGUAGE |
ctxEMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGSOP_DELETE, OP_SELECT, OP_UPDATE| Constructor and Description |
|---|
MethodStoreQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
invalidateCompilation()
Invalidate any internal compilation state.
|
StoreQuery.Executor |
newDataStoreExecutor(ClassMetaData meta,
boolean subs)
Return an executor for datastore execution of this query.
|
StoreQuery.Executor |
newInMemoryExecutor(ClassMetaData meta,
boolean subs)
Return an executor for in-memory execution of this query.
|
boolean |
requiresCandidateType()
Whether this query requires a candidate class.
|
boolean |
supportsDataStoreExecution()
True if this query supports datastore execution, false if it
can only run in memory.
|
boolean |
supportsInMemoryExecution()
True if this query supports in-memory execution, false if it
can only run against the datastore.
|
evaluate, getAggregateListener, getCompilation, getContext, getFilterListener, newCompilation, newCompilationKey, populateFromCompilation, requiresParameterDeclarations, setContext, setQuery, supportsAbstractExecutors, supportsParameterDeclarationspublic static final String LANGUAGE
public void invalidateCompilation()
StoreQueryinvalidateCompilation in interface StoreQueryinvalidateCompilation in class AbstractStoreQuerypublic StoreQuery.Executor newInMemoryExecutor(ClassMetaData meta, boolean subs)
StoreQueryStoreQuery.supportsAbstractExecutors(), the given metadata
will always be for the candidate class of this query, or possibly
null if the candidate class is not itself persistence capable (like
an interface or abstract base class). Otherwise, the given type will
be a mapped class.newInMemoryExecutor in interface StoreQuerynewInMemoryExecutor in class AbstractStoreQuerysubs - whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subs)
StoreQueryStoreQuery.supportsAbstractExecutors(), the given metadata
will always be for the candidate class of this query, or possibly
null if the candidate class is not itself persistence capable (like
an interface or abstract base class). Otherwise, the given type will
be a mapped class.newDataStoreExecutor in interface StoreQuerynewDataStoreExecutor in class AbstractStoreQuerysubs - whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean supportsInMemoryExecution()
StoreQuerysupportsInMemoryExecution in interface StoreQuerysupportsInMemoryExecution in class AbstractStoreQuerypublic boolean supportsDataStoreExecution()
StoreQuerysupportsDataStoreExecution in interface StoreQuerysupportsDataStoreExecution in class AbstractStoreQuerypublic boolean requiresCandidateType()
StoreQueryrequiresCandidateType in interface StoreQueryrequiresCandidateType in class AbstractStoreQueryCopyright © 2006–2018 Apache Software Foundation. All rights reserved.