public class PreparedSQLStoreQuery extends SQLStoreQuery
| Modifier and Type | Class and Description |
|---|---|
static class |
PreparedSQLStoreQuery.PreparedSQLExecutor
Executor of a prepared query uses the QueryExpressions of the original query
available via the PreparedQuery.
|
SQLStoreQuery.SQLExecutorAbstractStoreQuery.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 |
|---|
PreparedSQLStoreQuery(JDBCStore store) |
| Modifier and Type | Method and Description |
|---|---|
StoreQuery.Executor |
newDataStoreExecutor(ClassMetaData meta,
boolean subclasses)
Return an executor for datastore execution of this query.
|
boolean |
setQuery(Object query)
This is invoked when the user or a facade creates a new query with
an object that the system does not recognize.
|
getStore, requiresCandidateType, requiresParameterDeclarations, substituteParams, supportsDataStoreExecution, supportsParameterDeclarationsevaluate, getAggregateListener, getCompilation, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, supportsAbstractExecutors, supportsInMemoryExecutionpublic PreparedSQLStoreQuery(JDBCStore store)
public 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 SQLStoreQuerysubclasses - whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean setQuery(Object query)
StoreQuerysetQuery in interface StoreQuerysetQuery in class AbstractStoreQueryCopyright © 2006–2017 Apache Software Foundation. All rights reserved.