Package | Description |
---|---|
io.vertx.db2client |
Modifier and Type | Method and Description |
---|---|
static DB2Connection |
DB2Connection.cast(SqlConnection sqlConnection)
Cast a
SqlConnection to DB2Connection . |
DB2Connection |
DB2Connection.closeHandler(io.vertx.core.Handler<Void> handler) |
DB2Connection |
DB2Connection.debug(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a DEBUG command to dump debug information to the server's stdout.
|
DB2Connection |
DB2Connection.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
DB2Connection |
DB2Connection.ping(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a PING command to check if the server is alive.
|
DB2Connection |
DB2Connection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PreparedStatement>> handler) |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.Future<DB2Connection> |
DB2Connection.connect(io.vertx.core.Vertx vertx,
DB2ConnectOptions connectOptions)
Like
connect(Vertx, DB2ConnectOptions, Handler) but returns a
Future of the asynchronous result |
static io.vertx.core.Future<DB2Connection> |
DB2Connection.connect(io.vertx.core.Vertx vertx,
String connectionUri)
Like
connect(Vertx, String, Handler) but returns a Future of
the asynchronous result |
Modifier and Type | Method and Description |
---|---|
static void |
DB2Connection.connect(io.vertx.core.Vertx vertx,
DB2ConnectOptions connectOptions,
io.vertx.core.Handler<io.vertx.core.AsyncResult<DB2Connection>> handler)
Create a connection to DB2 server with the given
connectOptions . |
static void |
DB2Connection.connect(io.vertx.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<DB2Connection>> handler)
Like
connect(Vertx, DB2ConnectOptions, Handler) with options build
from connectionUri . |
Copyright © 2022 Eclipse. All rights reserved.