Package | Description |
---|---|
io.reactiverse.rxjava.pgclient | |
io.reactiverse.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(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)
Set an handler called when the connection is closed.
|
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
Set an handler called with connection errors.
|
static PgConnection |
PgConnection.newInstance(PgConnection arg) |
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<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<PgPreparedQuery>> handler)
Create a prepared query.
|
PgConnection |
PgConnection.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgConnection |
PgConnection.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Modifier and Type | Method and Description |
---|---|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx)
Like
PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx,
PgConnectOptions options)
Connects to the database and returns the connection if that succeeds.
|
static Single<PgConnection> |
PgClient.rxConnect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri)
|
Single<PgConnection> |
PgPool.rxGetConnection()
Get a connection from the pool.
|
Modifier and Type | Method and Description |
---|---|
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
PgClient.connect(io.vertx.rxjava.core.Vertx, io.reactiverse.pgclient.PgConnectOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.rxjava.pgclient.PgConnection>>) with options build from the environment variables. |
static void |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
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 |
PgClient.connect(io.vertx.rxjava.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
|
void |
PgPool.getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Get a connection from the pool.
|
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2019 Eclipse. All rights reserved.