org.apache.openjpa.jdbc.kernel
Class PreparedSQLStoreQuery

java.lang.Object
  extended by org.apache.openjpa.kernel.AbstractStoreQuery
      extended by org.apache.openjpa.jdbc.kernel.SQLStoreQuery
          extended by org.apache.openjpa.jdbc.kernel.PreparedSQLStoreQuery
All Implemented Interfaces:
Serializable, QueryOperations, StoreQuery

public class PreparedSQLStoreQuery
extends SQLStoreQuery

A executor for Prepared SQL Query.

Author:
Pinaki Poddar
See Also:
Serialized Form

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)
           
 boolean setQuery(Object query)
           
 
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, getCompilation, 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

PreparedSQLStoreQuery

public PreparedSQLStoreQuery(JDBCStore store)
Method Detail

newDataStoreExecutor

public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta,
                                                boolean subclasses)
Specified by:
newDataStoreExecutor in interface StoreQuery
Overrides:
newDataStoreExecutor in class SQLStoreQuery

setQuery

public boolean setQuery(Object query)
Specified by:
setQuery in interface StoreQuery
Overrides:
setQuery in class AbstractStoreQuery


Copyright © 2006–2017 Apache Software Foundation. All rights reserved.