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, validate
executeDelete, executeUpdate, getDataStoreActions, getOrderingValue, getParameterTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeDelete, executeUpdate, getDataStoreActions, getOrderingValue, getParameterTypes
public PreparedSQLExecutor(PreparedSQLStoreQuery q, ClassMetaData candidate)
public QueryExpressions[] getQueryExpressions()
StoreQuery.Executor
getQueryExpressions
in interface StoreQuery.Executor
getQueryExpressions
in class AbstractStoreQuery.AbstractExecutor
public Class[] getProjectionTypes(StoreQuery q)
StoreQuery.Executor
getProjectionTypes
in interface StoreQuery.Executor
getProjectionTypes
in class ExpressionStoreQuery.AbstractExpressionExecutor
public ResultObjectProvider executeQuery(StoreQuery q, Object[] params, StoreQuery.Range range)
StoreQuery.Executor
public Object[] toParameterArray(StoreQuery q, Map userParams)
toParameterArray
in interface StoreQuery.Executor
toParameterArray
in class ExpressionStoreQuery.AbstractExpressionExecutor
PreparedQueryImpl.reparametrize(Map, org.apache.openjpa.kernel.Broker)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.