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
Constructors Constructor Description StoredProcedureQueryExecutor(StoredProcedureQuery q, java.util.List<QueryResultMapping> resultMapping, java.util.List<java.lang.Class<?>> classes) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultObjectProviderexecuteQuery(StoreQuery q, java.lang.Object[] params, StoreQuery.Range range)Return the result of executing this query with the given parameter values.java.lang.Object[]toParameterArray(StoreQuery q, java.util.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 Detail
- 
StoredProcedureQueryExecutor
public StoredProcedureQueryExecutor(StoredProcedureQuery q, java.util.List<QueryResultMapping> resultMapping, java.util.List<java.lang.Class<?>> classes)
 
 - 
 
- 
Method Detail
- 
executeQuery
public ResultObjectProvider executeQuery(StoreQuery q, java.lang.Object[] params, StoreQuery.Range range)
Description copied from interface:StoreQuery.ExecutorReturn 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
public java.lang.Object[] toParameterArray(StoreQuery q, java.util.Map<?,?> userParams)
Description copied from interface:StoreQuery.ExecutorReturn 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.
 
 
 - 
 
 -