open class SQLRowStream : ReadStream<JsonArray>
A ReadStream of Rows from the underlying RDBMS. This class follows the ReadStream semantics and will automatically close the underlying resources if all returned rows are returned. For cases where the results are ignored before the full processing of the returned rows is complete the close method **MUST** be called in order to release underlying resources. The interface is minimal in order to support all SQL clients not just JDBC. NOTE: This class has been automatically generated from the io.vertx.ext.sql.SQLRowStream non RX-ified interface using Vert.x codegen.
SQLRowStream(delegate: SQLRowStream) |
static val __TYPE_ARG: TypeArg<SQLRowStream> |
open fun close(): Unitopen fun close(handler: Handler<AsyncResult<Void>>): Unit
Closes the stream/underlying cursor(s). The actual close happens asynchronously. |
|
open fun column(name: String): Int
Will convert the column name to the json array index. |
|
open fun columns(): MutableList<String>
Returns all column names available in the underlying resultset. One needs to carefully use this method since in contrast to the singular version it does not perform case insensitive lookups or takes alias in consideration on the column names. |
|
open fun endHandler(endHandler: Handler<Void>): SQLRowStream |
|
open fun equals(other: Any?): Boolean |
|
open fun exceptionHandler(handler: Handler<Throwable>): SQLRowStream |
|
open fun getDelegate(): SQLRowStream |
|
open fun handler(handler: Handler<JsonArray>): SQLRowStream |
|
open fun hashCode(): Int |
|
open fun moreResults(): Unit
Request for more results if available |
|
open static fun newInstance(arg: SQLRowStream): SQLRowStream |
|
open fun pause(): SQLRowStream |
|
open fun resultSetClosedHandler(handler: Handler<Void>): SQLRowStream
Event handler when a resultset is closed. This is useful to request for more results. |
|
open fun resume(): SQLRowStream |
|
open fun rxClose(): Single<Void>
Closes the stream/underlying cursor(s). The actual close happens asynchronously. |
|
open fun toObservable(): Observable<JsonArray> |
|
open fun toString(): String |