|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.AbstractStoreQuery
org.apache.openjpa.jdbc.kernel.SQLStoreQuery
org.apache.openjpa.jdbc.kernel.PreparedSQLStoreQuery
public class PreparedSQLStoreQuery
A executor for Prepared SQL Query.
Nested Class Summary | |
---|---|
static class |
PreparedSQLStoreQuery.PreparedSQLExecutor
Executor of a prepared query uses the QueryExpressions of the original query available via the PreparedQuery. |
Nested classes/interfaces inherited from class org.apache.openjpa.jdbc.kernel.SQLStoreQuery |
---|
SQLStoreQuery.SQLExecutor |
Nested classes/interfaces inherited from class org.apache.openjpa.kernel.AbstractStoreQuery |
---|
AbstractStoreQuery.AbstractExecutor |
Nested classes/interfaces inherited from interface org.apache.openjpa.kernel.StoreQuery |
---|
StoreQuery.Executor, StoreQuery.Range |
Field Summary |
---|
Fields inherited from class org.apache.openjpa.kernel.AbstractStoreQuery |
---|
ctx |
Fields inherited from interface org.apache.openjpa.kernel.StoreQuery |
---|
EMPTY_BOOLEANS, EMPTY_CLASSES, EMPTY_METAS, EMPTY_OBJECTS, EMPTY_ORDERED_PARAMS, EMPTY_PARAMS, EMPTY_STRINGS |
Fields inherited from interface org.apache.openjpa.kernel.QueryOperations |
---|
OP_DELETE, OP_SELECT, OP_UPDATE |
Constructor Summary | |
---|---|
PreparedSQLStoreQuery(JDBCStore store)
|
Method Summary | |
---|---|
StoreQuery.Executor |
newDataStoreExecutor(ClassMetaData meta,
boolean subclasses)
Return an executor for datastore execution of this query. |
boolean |
setQuery(java.lang.Object query)
This is invoked when the user or a facade creates a new query with an object that the system does not recognize. |
Methods inherited from class org.apache.openjpa.jdbc.kernel.SQLStoreQuery |
---|
getStore, requiresCandidateType, requiresParameterDeclarations, substituteParams, supportsDataStoreExecution, supportsParameterDeclarations |
Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery |
---|
evaluate, getAggregateListener, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, supportsAbstractExecutors, supportsInMemoryExecution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreparedSQLStoreQuery(JDBCStore store)
Method Detail |
---|
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(java.lang.Object query)
StoreQuery
setQuery
in interface StoreQuery
setQuery
in class AbstractStoreQuery
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |