Package org.apache.openjpa.jdbc.kernel
Class StoredProcedureQuery.StoredProcedureQueryExecutor
java.lang.Object
org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor
org.apache.openjpa.jdbc.kernel.StoredProcedureQuery.StoredProcedureQueryExecutor
- All Implemented Interfaces:
StoreQuery.Executor
- Enclosing class:
- StoredProcedureQuery
public class StoredProcedureQuery.StoredProcedureQueryExecutor
extends AbstractStoreQuery.AbstractExecutor
-
Constructor Summary
ConstructorDescriptionStoredProcedureQueryExecutor
(StoredProcedureQuery q, List<QueryResultMapping> resultMapping, List<Class<?>> classes) -
Method Summary
Modifier and TypeMethodDescriptionexecuteQuery
(StoreQuery q, Object[] params, StoreQuery.Range range) Return the result of executing this query with the given parameter values.Object[]
toParameterArray
(StoreQuery q, Map<?, ?> userParams) Return an array from the given user parameter values.Methods inherited from class org.apache.openjpa.kernel.AbstractStoreQuery.AbstractExecutor
executeDelete, executeUpdate, getAccessPathMetaDatas, getAlias, getAscending, getDataStoreActions, getOperation, getOrderedParameterTypes, getOrderingValue, getParameterTypes, getProjectionAliases, getProjectionTypes, getQueryExpressions, getRange, getResultClass, getResultShape, getUpdates, hasGrouping, isAggregate, isDistinct, isPacking, validate
-
Constructor Details
-
StoredProcedureQueryExecutor
public StoredProcedureQueryExecutor(StoredProcedureQuery q, List<QueryResultMapping> resultMapping, List<Class<?>> classes)
-
-
Method Details
-
executeQuery
Description copied from interface:StoreQuery.Executor
Return the result of executing this query with the given parameter values. If this query is a projection and this executor does not pack results itself, each element of the returned result object provider should be an object array containing the projection values. -
toParameterArray
Description copied from interface:StoreQuery.Executor
Return an array from the given user parameter values. The array ordering is same as what this executor expects for its executeXXX() methods as its Object[] parameters. If the given userParams is null or empty return an empty array rather than null.- Returns:
- array with parameter values ordered in the same way as this receiver's executeXXX() method expects.
-