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 Details

  • Method Details

    • executeQuery

      public ResultObjectProvider executeQuery(StoreQuery q, Object[] params, StoreQuery.Range range)
      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.
      See Also:
    • toParameterArray

      public Object[] toParameterArray(StoreQuery q, Map<?,?> userParams)
      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.