public static class PreparedSQLStoreQuery.PreparedSQLExecutor extends ExpressionStoreQuery.AbstractExpressionExecutor
| Constructor and Description |
|---|
PreparedSQLExecutor(PreparedSQLStoreQuery q,
ClassMetaData candidate) |
| Modifier and Type | Method and Description |
|---|---|
ResultObjectProvider |
executeQuery(StoreQuery q,
Object[] params,
StoreQuery.Range range)
Return the result of executing this query with the given parameter
values.
|
Class[] |
getProjectionTypes(StoreQuery q)
Return the expected types of the projections used by this query,
or an empty array if not a projection.
|
QueryExpressions[] |
getQueryExpressions()
Return the parsed query expressions for our candidate types.
|
Object[] |
toParameterArray(StoreQuery q,
Map userParams)
Convert given userParams to an array whose ordering matches as
per expected during executeXXX() methods.
|
assertNotContainer, getAccessPathMetaDatas, getAlias, getAscending, getOperation, getOrderedParameterTypes, getProjectionAliases, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, validateexecuteDelete, executeUpdate, getDataStoreActions, getOrderingValue, getParameterTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteDelete, executeUpdate, getDataStoreActions, getOrderingValue, getParameterTypespublic PreparedSQLExecutor(PreparedSQLStoreQuery q, ClassMetaData candidate)
public QueryExpressions[] getQueryExpressions()
StoreQuery.ExecutorgetQueryExpressions in interface StoreQuery.ExecutorgetQueryExpressions in class AbstractStoreQuery.AbstractExecutorpublic Class[] getProjectionTypes(StoreQuery q)
StoreQuery.ExecutorgetProjectionTypes in interface StoreQuery.ExecutorgetProjectionTypes in class ExpressionStoreQuery.AbstractExpressionExecutorpublic ResultObjectProvider executeQuery(StoreQuery q, Object[] params, StoreQuery.Range range)
StoreQuery.Executorpublic Object[] toParameterArray(StoreQuery q, Map userParams)
toParameterArray in interface StoreQuery.ExecutortoParameterArray in class ExpressionStoreQuery.AbstractExpressionExecutorPreparedQueryImpl.reparametrize(Map, org.apache.openjpa.kernel.Broker)Copyright © 2006–2022 Apache Software Foundation. All rights reserved.