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
-
Constructor Summary
ConstructorsConstructorDescriptionCallableBatchResultHandler
(PgStatement statement, Query[] queries, ParameterList[] parameterLists) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleResultRows
(Query fromQuery, Field[] fields, 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 Details
-
CallableBatchResultHandler
CallableBatchResultHandler(PgStatement statement, Query[] queries, ParameterList[] parameterLists)
-
-
Method Details
-
handleResultRows
public void handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Description copied from interface:ResultHandler
Called when result rows are received from a query.- Specified by:
handleResultRows
in interfaceResultHandler
- Overrides:
handleResultRows
in 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 benull
if Query.QUERY_NO_METADATA was specified.tuples
- the actual datacursor
- a cursor to use to fetch additional data;null
if no further results are present.
-