public interface SQLRowStream extends ReadStream<JsonArray>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream/underlying cursor(s).
|
void |
close(Handler<AsyncResult<Void>> handler)
Closes the stream/underlying cursor(s).
|
int |
column(String name)
Will convert the column name to the json array index.
|
List<String> |
columns()
Returns all column names available in the underlying resultset.
|
SQLRowStream |
endHandler(Handler<Void> endHandler) |
SQLRowStream |
exceptionHandler(Handler<Throwable> handler) |
SQLRowStream |
handler(Handler<JsonArray> handler) |
void |
moreResults()
Request for more results if available
|
SQLRowStream |
pause() |
SQLRowStream |
resultSetClosedHandler(Handler<Void> handler)
Event handler when a resultset is closed.
|
SQLRowStream |
resume() |
fetch, pipe, pipeTo, pipeToSQLRowStream exceptionHandler(Handler<Throwable> handler)
exceptionHandler in interface ReadStream<JsonArray>exceptionHandler in interface StreamBaseSQLRowStream handler(Handler<JsonArray> handler)
handler in interface ReadStream<JsonArray>SQLRowStream pause()
pause in interface ReadStream<JsonArray>SQLRowStream resume()
resume in interface ReadStream<JsonArray>SQLRowStream endHandler(Handler<Void> endHandler)
endHandler in interface ReadStream<JsonArray>int column(String name)
name - the column nameList<String> columns()
SQLRowStream resultSetClosedHandler(Handler<Void> handler)
handler - called when the current result set is closedvoid moreResults()
void close()
void close(Handler<AsyncResult<Void>> handler)
handler - called when the stream/underlying cursor(s) is(are) closedCopyright © 2023 Eclipse. All rights reserved.