public class StoreManagerSQLQuery
extends org.apache.openjpa.kernel.AbstractStoreQuery
Modifier and Type | Class and Description |
---|---|
protected static class |
StoreManagerSQLQuery.SQLExecutor
Executes the filter as a SQL query.
|
Constructor and Description |
---|
StoreManagerSQLQuery(StoreManager store) |
Modifier and Type | Method and Description |
---|---|
StoreManager |
getStore() |
org.apache.openjpa.kernel.StoreQuery.Executor |
newDataStoreExecutor(org.apache.openjpa.meta.ClassMetaData meta,
boolean subclasses) |
boolean |
requiresCandidateType() |
boolean |
requiresParameterDeclarations() |
static String |
substituteParams(String sql,
List<Integer> paramOrder)
Utility method to substitute '?num' for parameters in the given SQL statement, and fill-in
the order of the parameter tokens
|
boolean |
supportsDataStoreExecution() |
boolean |
supportsParameterDeclarations() |
evaluate, getAggregateListener, getContext, getFilterListener, invalidateCompilation, newCompilation, newCompilationKey, newInMemoryExecutor, populateFromCompilation, setContext, setQuery, supportsAbstractExecutors, supportsInMemoryExecution
public StoreManagerSQLQuery(StoreManager store)
public StoreManager getStore()
public boolean supportsParameterDeclarations()
supportsParameterDeclarations
in interface org.apache.openjpa.kernel.StoreQuery
supportsParameterDeclarations
in class org.apache.openjpa.kernel.AbstractStoreQuery
public boolean supportsDataStoreExecution()
supportsDataStoreExecution
in interface org.apache.openjpa.kernel.StoreQuery
supportsDataStoreExecution
in class org.apache.openjpa.kernel.AbstractStoreQuery
public org.apache.openjpa.kernel.StoreQuery.Executor newDataStoreExecutor(org.apache.openjpa.meta.ClassMetaData meta, boolean subclasses)
newDataStoreExecutor
in interface org.apache.openjpa.kernel.StoreQuery
newDataStoreExecutor
in class org.apache.openjpa.kernel.AbstractStoreQuery
public boolean requiresCandidateType()
requiresCandidateType
in interface org.apache.openjpa.kernel.StoreQuery
requiresCandidateType
in class org.apache.openjpa.kernel.AbstractStoreQuery
public boolean requiresParameterDeclarations()
requiresParameterDeclarations
in interface org.apache.openjpa.kernel.StoreQuery
requiresParameterDeclarations
in class org.apache.openjpa.kernel.AbstractStoreQuery
public static String substituteParams(String sql, List<Integer> paramOrder) throws IOException
IOException
Copyright © GigaSpaces.