Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.pgclient.pubsub | |
io.vertx.reactivex.pgclient | |
io.vertx.rxjava.pgclient |
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)
Set an handler called with connection errors.
|
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<PreparedStatement>> handler)
Create a prepared query.
|
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() |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
Constructor and Description |
---|
PgConnection(PgConnection delegate) |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
Constructor and Description |
---|
PgConnection(PgConnection delegate) |
Copyright © 2023 Eclipse. All rights reserved.