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<PreparedQuery>> handler)
Create a prepared query.
|
<R> SqlConnection |
SqlConnection.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
SqlConnection |
SqlConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet<Row>>> handler) |
<R> SqlConnection |
SqlConnection.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
SqlConnection |
SqlConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet<Row>>> handler) |
<R> SqlConnection |
SqlConnection.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
SqlConnection |
SqlConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet<Row>>> handler) |
<R> SqlConnection |
SqlConnection.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
SqlConnection |
SqlConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet<Row>>> handler) |
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 © 2019 Eclipse. All rights reserved.