Package | Description |
---|---|
io.vertx.pgclient |
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.pool()
Like
pool(PoolOptions) with a default poolOptions . |
static PgPool |
PgPool.pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(PoolOptions poolOptions)
Like
pool(PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri)
Like
pool(String, PoolOptions) with a default poolOptions . |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
PoolOptions poolOptions)
Like
pool(Vertx, PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
String connectionUri)
Like
pool(Vertx, String,PoolOptions) with a default poolOptions . |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
<R> PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
PgPool |
PgPool.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
<R> PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
PgPool |
PgPool.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
<R> PgPool |
PgPool.query(String sql,
Collector<Row,?,R> collector,
io.vertx.core.Handler<io.vertx.core.AsyncResult<SqlResult<R>>> handler) |
PgPool |
PgPool.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<RowSet>> handler) |
Copyright © 2019 Eclipse. All rights reserved.