public class StoredProcedureQuery extends AbstractStoreQuery
Modifier and Type | Class and Description |
---|---|
class |
StoredProcedureQuery.StoredProcedureQueryExecutor |
AbstractStoreQuery.AbstractExecutor
StoreQuery.Executor, StoreQuery.Range
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 |
---|
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, supportsInMemoryExecution
public StoredProcedureQuery(JDBCStore store)
public int getOperation()
public StoredProcedure getProcedure()
public DBDictionary getDictionary()
public boolean setQuery(Object meta)
StoreQuery
setQuery
in interface StoreQuery
setQuery
in class AbstractStoreQuery
public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subclasses)
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
subclasses
- whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean supportsParameterDeclarations()
StoreQuery
supportsParameterDeclarations
in interface StoreQuery
supportsParameterDeclarations
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
public boolean requiresParameterDeclarations()
StoreQuery
requiresParameterDeclarations
in interface StoreQuery
requiresParameterDeclarations
in class AbstractStoreQuery
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.