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:
Serializable, QueryOperations, StoreQuery

public class SQLStoreQuery
extends AbstractStoreQuery

A SQL query.

Author:
Abe White
See Also:
Serialized Form

Nested Class Summary
protected static class SQLStoreQuery.SQLExecutor
          Executes the filter as a SQL query.
 
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_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()
           
 StoreQuery.Executor newDataStoreExecutor(ClassMetaData meta, boolean subclasses)
           
 boolean requiresCandidateType()
           
 boolean requiresParameterDeclarations()
           
 boolean supportsDataStoreExecution()
           
 boolean supportsParameterDeclarations()
           
 
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
 

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 StoreQuery
Overrides:
supportsParameterDeclarations in class AbstractStoreQuery

supportsDataStoreExecution

public boolean supportsDataStoreExecution()
Specified by:
supportsDataStoreExecution in interface StoreQuery
Overrides:
supportsDataStoreExecution in class AbstractStoreQuery

newDataStoreExecutor

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

requiresCandidateType

public boolean requiresCandidateType()
Specified by:
requiresCandidateType in interface StoreQuery
Overrides:
requiresCandidateType in class AbstractStoreQuery

requiresParameterDeclarations

public boolean requiresParameterDeclarations()
Specified by:
requiresParameterDeclarations in interface StoreQuery
Overrides:
requiresParameterDeclarations in class AbstractStoreQuery


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.