public class StoredProcedureQuery extends AbstractStoreQuery
| Modifier and Type | Class and Description |
|---|---|
class |
StoredProcedureQuery.StoredProcedureQueryExecutor |
AbstractStoreQuery.AbstractExecutorStoreQuery.Executor, StoreQuery.RangectxEMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGSOP_DELETE, OP_SELECT, OP_UPDATE| Constructor and Description |
|---|
StoredProcedureQuery(JDBCStore store) |
| Modifier and Type | Method and Description |
|---|---|
DBDictionary |
getDictionary() |
int |
getOperation() |
StoredProcedure |
getProcedure() |
StoreQuery.Executor |
newDataStoreExecutor(ClassMetaData meta,
boolean subclasses)
Return an executor for datastore execution of this query.
|
boolean |
requiresCandidateType()
Whether this query requires a candidate class.
|
boolean |
requiresParameterDeclarations()
Whether this query requires parameters to be declared.
|
boolean |
setQuery(Object meta)
This is invoked when the user or a facade creates a new query with
an object that the system does not recognize.
|
boolean |
supportsDataStoreExecution()
True if this query supports datastore execution, false if it
can only run in memory.
|
boolean |
supportsParameterDeclarations()
Whether this query supports declared parameters.
|
evaluate, getAggregateListener, getCompilation, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, supportsAbstractExecutors, supportsInMemoryExecutionpublic StoredProcedureQuery(JDBCStore store)
public int getOperation()
public StoredProcedure getProcedure()
public DBDictionary getDictionary()
public boolean setQuery(Object meta)
StoreQuerysetQuery in interface StoreQuerysetQuery in class AbstractStoreQuerypublic StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subclasses)
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 AbstractStoreQuerysubclasses - whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean supportsParameterDeclarations()
StoreQuerysupportsParameterDeclarations in interface StoreQuerysupportsParameterDeclarations in class AbstractStoreQuerypublic boolean supportsDataStoreExecution()
StoreQuerysupportsDataStoreExecution in interface StoreQuerysupportsDataStoreExecution in class AbstractStoreQuerypublic boolean requiresCandidateType()
StoreQueryrequiresCandidateType in interface StoreQueryrequiresCandidateType in class AbstractStoreQuerypublic boolean requiresParameterDeclarations()
StoreQueryrequiresParameterDeclarations in interface StoreQueryrequiresParameterDeclarations in class AbstractStoreQueryCopyright © 2006–2020 Apache Software Foundation. All rights reserved.