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 TypeMethodDescriptionvoidhandleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Called when result rows are received from a query.Methods inherited from class BatchResultHandler
getGeneratedKeys, getLargeUpdateCount, getUpdateCount, handleCommandStatus, handleCompletion, handleError, handleWarning, secureProgressMethods inherited from class 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: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.
-