Package | Description |
---|---|
io.vertx.rxjava.pgclient | |
io.vertx.rxjava.pgclient.pubsub |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<PgConnection> |
PgConnection.__TYPE_ARG |
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 to
PgConnection . |
PgConnection |
PgConnection.closeHandler(Handler<Void> handler) |
PgConnection |
PgConnection.exceptionHandler(Handler<Throwable> handler) |
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
PgConnection |
PgConnection.notificationHandler(Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql) |
PgConnection |
PgConnection.prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler) |
Modifier and Type | Method and Description |
---|---|
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx)
Like
connect(io.vertx.rxjava.core.Vertx, io.vertx.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
String connectionUri)
Like
connect(io.vertx.rxjava.core.Vertx, io.vertx.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.pgclient.PgConnection>>) with options build from connectionUri . |
Modifier and Type | Method and Description |
---|---|
static void |
PgConnection.connect(Vertx vertx,
Handler<AsyncResult<PgConnection>> handler)
Like
connect(io.vertx.rxjava.core.Vertx, io.vertx.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.pgclient.PgConnection>>) 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(io.vertx.rxjava.core.Vertx, io.vertx.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.pgclient.PgConnection>>) with options build from connectionUri . |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2021 Eclipse. All rights reserved.