public class MethodStoreQuery extends AbstractStoreQuery
AbstractStoreQuery.AbstractExecutor
StoreQuery.Executor, StoreQuery.Range
Modifier and Type | Field and Description |
---|---|
static String |
LANGUAGE |
ctx
EMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGS
OP_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, supportsParameterDeclarations
public static final String LANGUAGE
public void invalidateCompilation()
StoreQuery
invalidateCompilation
in interface StoreQuery
invalidateCompilation
in class AbstractStoreQuery
public StoreQuery.Executor newInMemoryExecutor(ClassMetaData meta, boolean subs)
StoreQuery
StoreQuery.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 StoreQuery
newInMemoryExecutor
in class AbstractStoreQuery
subs
- whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subs)
StoreQuery
StoreQuery.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 StoreQuery
newDataStoreExecutor
in class AbstractStoreQuery
subs
- whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean supportsInMemoryExecution()
StoreQuery
supportsInMemoryExecution
in interface StoreQuery
supportsInMemoryExecution
in class AbstractStoreQuery
public boolean supportsDataStoreExecution()
StoreQuery
supportsDataStoreExecution
in interface StoreQuery
supportsDataStoreExecution
in class AbstractStoreQuery
public boolean requiresCandidateType()
StoreQuery
requiresCandidateType
in interface StoreQuery
requiresCandidateType
in class AbstractStoreQuery
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.