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.SQLExecutor
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 |
---|
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, supportsParameterDeclarations
evaluate, getAggregateListener, getCompilation, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, supportsAbstractExecutors, supportsInMemoryExecution
public PreparedSQLStoreQuery(JDBCStore store)
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 SQLStoreQuery
subclasses
- whether to include dependent mapped subclasses in the
results; independent subclasses should never be includedpublic boolean setQuery(Object query)
StoreQuery
setQuery
in interface StoreQuery
setQuery
in class AbstractStoreQuery
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.