Package | Description |
---|---|
io.vertx.rxjava.pgclient | |
io.vertx.rxjava.pgclient.pubsub |
Modifier and Type | Field and Description |
---|---|
static TypeArg<PgConnection> |
PgConnection.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgConnection.cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
PgConnection |
PgConnection.closeHandler(io.vertx.core.Handler<Void> handler) |
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
static PgConnection |
PgConnection.newInstance(io.vertx.pgclient.PgConnection arg) |
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<io.vertx.pgclient.PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PreparedQuery>> handler) |
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
Modifier and Type | Method and Description |
---|---|
static rx.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 rx.Single<PgConnection> |
PgConnection.rxConnect(Vertx vertx,
io.vertx.pgclient.PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static rx.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,
io.vertx.core.Handler<io.vertx.core.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,
io.vertx.pgclient.PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnection.connect(Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.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 © 2019 Eclipse. All rights reserved.