org.apache.openjpa.jdbc.kernel
Class SQLStoreQuery
java.lang.Object
   org.apache.openjpa.kernel.AbstractStoreQuery
org.apache.openjpa.kernel.AbstractStoreQuery
       org.apache.openjpa.jdbc.kernel.SQLStoreQuery
org.apache.openjpa.jdbc.kernel.SQLStoreQuery
- All Implemented Interfaces: 
- Serializable, QueryOperations, StoreQuery
- public class SQLStoreQuery 
- extends AbstractStoreQuery
A SQL query.
- Author:
- Abe White
- See Also:
- Serialized Form
 
 
 
 
 
 
 
 
 
| Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery | 
| evaluate, getAggregateListener, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, setQuery, supportsAbstractExecutors, supportsInMemoryExecution | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SQLStoreQuery
public SQLStoreQuery(JDBCStore store)
- Construct a query managed by the given context.
 
getStore
public JDBCStore getStore()
- 
 
supportsParameterDeclarations
public boolean supportsParameterDeclarations()
- Description copied from interface: StoreQuery
- Whether this query supports declared parameters.
 
- 
- Specified by:
- supportsParameterDeclarationsin interface- StoreQuery
- Overrides:
- supportsParameterDeclarationsin class- AbstractStoreQuery
 
- 
 
supportsDataStoreExecution
public boolean supportsDataStoreExecution()
- Description copied from interface: StoreQuery
- True if this query supports datastore execution, false if it
 can only run in memory.
 
- 
- Specified by:
- supportsDataStoreExecutionin interface- StoreQuery
- Overrides:
- supportsDataStoreExecutionin class- AbstractStoreQuery
 
- 
 
newDataStoreExecutor
public StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta,
                                                boolean subclasses)
- Description copied from interface: StoreQuery
- Return an executor for datastore execution of this query.
 Executors must be cachable and thread safe. If this class returns
 true from 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.
 
- 
- Specified by:
- newDataStoreExecutorin interface- StoreQuery
- Overrides:
- newDataStoreExecutorin class- AbstractStoreQuery
 
- 
- subclasses- whether to include dependent mapped subclasses in the
 results; independent subclasses should never be included
 
requiresCandidateType
public boolean requiresCandidateType()
- Description copied from interface: StoreQuery
- Whether this query requires a candidate class.
 
- 
- Specified by:
- requiresCandidateTypein interface- StoreQuery
- Overrides:
- requiresCandidateTypein class- AbstractStoreQuery
 
- 
 
requiresParameterDeclarations
public boolean requiresParameterDeclarations()
- Description copied from interface: StoreQuery
- Whether this query requires parameters to be declared.
 
- 
- Specified by:
- requiresParameterDeclarationsin interface- StoreQuery
- Overrides:
- requiresParameterDeclarationsin class- AbstractStoreQuery
 
- 
 
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.