private static class SetupQueryRunner.SimpleResultHandler extends ResultHandlerBase
| Modifier | Constructor and Description |
|---|---|
private |
SimpleResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.List<Tuple> |
getResults() |
void |
handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor)
Called when result rows are received from a query.
|
void |
handleWarning(java.sql.SQLWarning warning)
Called when a warning is emitted.
|
getException, getWarning, handleCommandStatus, handleCompletion, handleError, secureProgressprivate java.util.List<Tuple> tuples
java.util.List<Tuple> getResults()
public void handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
ResultHandlerhandleResultRows in interface ResultHandlerhandleResultRows in class ResultHandlerBasefromQuery - 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 be null 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.public void handleWarning(java.sql.SQLWarning warning)
ResultHandlerhandleWarning in interface ResultHandlerhandleWarning in class ResultHandlerBasewarning - the warning that occurred.