Package org.apache.openjpa.kernel
Class QueryResultCallback
- java.lang.Object
-
- org.apache.openjpa.kernel.QueryResultCallback
-
public class QueryResultCallback extends java.lang.Object
A callabck is used when a query results in multiple non-identical result sets. Designed to use with Stored Procedure Query.- Author:
- ppoddar
-
-
Constructor Summary
Constructors Constructor Description QueryResultCallback(QueryImpl kernel, StoreQuery storeQuery, StoreQuery.Executor executor, BatchedResultObjectProvider parent, StoreQuery.Range range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
callback()
boolean
getExecutionResult()
java.lang.Object
getOut(int position)
java.lang.Object
getOut(java.lang.String name)
int
getUpdateCount()
boolean
hasMoreResults()
-
-
-
Constructor Detail
-
QueryResultCallback
public QueryResultCallback(QueryImpl kernel, StoreQuery storeQuery, StoreQuery.Executor executor, BatchedResultObjectProvider parent, StoreQuery.Range range)
-
-
Method Detail
-
callback
public java.lang.Object callback() throws java.lang.Exception
- Throws:
java.lang.Exception
-
hasMoreResults
public boolean hasMoreResults()
-
getExecutionResult
public boolean getExecutionResult()
-
getUpdateCount
public int getUpdateCount()
-
getOut
public java.lang.Object getOut(int position)
-
getOut
public java.lang.Object getOut(java.lang.String name)
-
-