| Package | Description |
|---|---|
| io.vertx.sqlclient |
| Modifier and Type | Method and Description |
|---|---|
SqlConnection |
SqlConnection.closeHandler(io.vertx.core.Handler<Void> handler)
Set an handler called when the connection is closed.
|
SqlConnection |
SqlConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
SqlConnection |
SqlConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the given
sql string. |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<SqlConnection> |
Pool.getConnection()
Like
Pool.getConnection(Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
void |
Pool.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlConnection>> handler)
Get a connection from the pool.
|
Copyright © 2020 Eclipse. All rights reserved.