| Package | Description |
|---|---|
| io.vertx.pgclient | |
| io.vertx.pgclient.pubsub |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgConnection.cancelRequest(Handler<AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
PgConnection |
PgConnection.closeHandler(Handler<Void> handler) |
PgConnection |
PgConnection.exceptionHandler(Handler<Throwable> handler) |
PgConnection |
PgConnection.notificationHandler(Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
Handler<AsyncResult<io.vertx.sqlclient.PreparedQuery>> handler) |
<R> PgConnection |
PgConnection.preparedBatch(String sql,
List<io.vertx.sqlclient.Tuple> batch,
java.util.stream.Collector<io.vertx.sqlclient.Row,?,R> collector,
Handler<AsyncResult<io.vertx.sqlclient.SqlResult<R>>> handler) |
PgConnection |
PgConnection.preparedBatch(String sql,
List<io.vertx.sqlclient.Tuple> batch,
Handler<AsyncResult<io.vertx.sqlclient.RowSet>> handler) |
<R> PgConnection |
PgConnection.preparedQuery(String sql,
java.util.stream.Collector<io.vertx.sqlclient.Row,?,R> collector,
Handler<AsyncResult<io.vertx.sqlclient.SqlResult<R>>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Handler<AsyncResult<io.vertx.sqlclient.RowSet>> handler) |
<R> PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.sqlclient.Tuple arguments,
java.util.stream.Collector<io.vertx.sqlclient.Row,?,R> collector,
Handler<AsyncResult<io.vertx.sqlclient.SqlResult<R>>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.sqlclient.Tuple arguments,
Handler<AsyncResult<io.vertx.sqlclient.RowSet>> handler) |
<R> PgConnection |
PgConnection.query(String sql,
java.util.stream.Collector<io.vertx.sqlclient.Row,?,R> collector,
Handler<AsyncResult<io.vertx.sqlclient.SqlResult<R>>> handler) |
PgConnection |
PgConnection.query(String sql,
Handler<AsyncResult<io.vertx.sqlclient.RowSet>> handler) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PgConnection.connect(Vertx vertx,
Handler<AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables. |
static void |
PgConnection.connect(Vertx vertx,
PgConnectOptions options,
Handler<AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnection.connect(Vertx vertx,
String connectionUri,
Handler<AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri. |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2019 Eclipse. All rights reserved.