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.
|
static PgConnection |
PgConnection.cast(SqlConnection sqlConnection)
Cast a
SqlConnection to PgConnection . |
PgConnection |
PgConnection.closeHandler(Handler<Void> handler)
Set an handler called when the connection is closed.
|
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 statement using the given
sql string. |
Modifier and Type | Method and Description |
---|---|
static Future<PgConnection> |
PgConnection.connect(Vertx vertx)
Like
connect(Vertx, Handler) but returns a Future of the asynchronous result |
static Future<PgConnection> |
PgConnection.connect(Vertx vertx,
PgConnectOptions options)
Like
connect(Vertx, PgConnectOptions, Handler) but returns a Future of the asynchronous result |
static Future<PgConnection> |
PgConnection.connect(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 |
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 © 2021 Eclipse. All rights reserved.