Package org.postgresql.jdbc
Class CallableBatchResultHandler
- java.lang.Object
-
- org.postgresql.core.ResultHandlerBase
-
- org.postgresql.jdbc.BatchResultHandler
-
- org.postgresql.jdbc.CallableBatchResultHandler
-
- All Implemented Interfaces:
ResultHandler
class CallableBatchResultHandler extends BatchResultHandler
-
-
Constructor Summary
Constructors Constructor Description CallableBatchResultHandler(PgStatement statement, Query[] queries, ParameterList[] parameterLists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)Called when result rows are received from a query.-
Methods inherited from class org.postgresql.jdbc.BatchResultHandler
getGeneratedKeys, getLargeUpdateCount, getUpdateCount, handleCommandStatus, handleCompletion, handleError, handleWarning, secureProgress
-
Methods inherited from class org.postgresql.core.ResultHandlerBase
getException, getWarning
-
-
-
-
Constructor Detail
-
CallableBatchResultHandler
CallableBatchResultHandler(PgStatement statement, Query[] queries, ParameterList[] parameterLists)
-
-
Method Detail
-
handleResultRows
public void handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
Description copied from interface:ResultHandlerCalled when result rows are received from a query.- Specified by:
handleResultRowsin interfaceResultHandler- Overrides:
handleResultRowsin classBatchResultHandler- Parameters:
fromQuery- the underlying query that generated these results; this may not be very specific (e.g. it may be a query that includes multiple statements).fields- column metadata for the resultset; might benullif Query.QUERY_NO_METADATA was specified.tuples- the actual datacursor- a cursor to use to fetch additional data;nullif no further results are present.
-
-