org.apache.openjpa.jdbc.kernel
Class SQLStoreQuery

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

public class SQLStoreQuery
extends org.apache.openjpa.kernel.AbstractStoreQuery

A SQL query.

Author:
Abe White
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openjpa.kernel.AbstractStoreQuery
org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor
 
Nested classes/interfaces inherited from interface org.apache.openjpa.kernel.StoreQuery
org.apache.openjpa.kernel.StoreQuery.Executor
 
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_PARAMS, EMPTY_STRINGS
 
Fields inherited from interface org.apache.openjpa.kernel.QueryOperations
OP_DELETE, OP_SELECT, OP_UPDATE
 
Constructor Summary
SQLStoreQuery(JDBCStore store)
          Construct a query managed by the given context.
 
Method Summary
 JDBCStore getStore()
           
 org.apache.openjpa.kernel.StoreQuery.Executor newDataStoreExecutor(org.apache.openjpa.meta.ClassMetaData meta, boolean subclasses)
           
 boolean requiresCandidateType()
           
 boolean requiresParameterDeclarations()
           
 boolean supportsDataStoreExecution()
           
 boolean supportsParameterDeclarations()
           
 
Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery
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
 

Constructor Detail

SQLStoreQuery

public SQLStoreQuery(JDBCStore store)
Construct a query managed by the given context.

Method Detail

getStore

public JDBCStore getStore()

supportsParameterDeclarations

public boolean supportsParameterDeclarations()
Specified by:
supportsParameterDeclarations in interface org.apache.openjpa.kernel.StoreQuery
Overrides:
supportsParameterDeclarations in class org.apache.openjpa.kernel.AbstractStoreQuery

supportsDataStoreExecution

public boolean supportsDataStoreExecution()
Specified by:
supportsDataStoreExecution in interface org.apache.openjpa.kernel.StoreQuery
Overrides:
supportsDataStoreExecution in class org.apache.openjpa.kernel.AbstractStoreQuery

newDataStoreExecutor

public org.apache.openjpa.kernel.StoreQuery.Executor newDataStoreExecutor(org.apache.openjpa.meta.ClassMetaData meta,
                                                                          boolean subclasses)
Specified by:
newDataStoreExecutor in interface org.apache.openjpa.kernel.StoreQuery
Overrides:
newDataStoreExecutor in class org.apache.openjpa.kernel.AbstractStoreQuery

requiresCandidateType

public boolean requiresCandidateType()
Specified by:
requiresCandidateType in interface org.apache.openjpa.kernel.StoreQuery
Overrides:
requiresCandidateType in class org.apache.openjpa.kernel.AbstractStoreQuery

requiresParameterDeclarations

public boolean requiresParameterDeclarations()
Specified by:
requiresParameterDeclarations in interface org.apache.openjpa.kernel.StoreQuery
Overrides:
requiresParameterDeclarations in class org.apache.openjpa.kernel.AbstractStoreQuery


Copyright © 2006 Apache Software Foundation. All Rights Reserved.