public class PgPool extends Pool
PostgreSQL connections
.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<PgPool> |
__TYPE_ARG |
Constructor and Description |
---|
PgPool(Object delegate) |
PgPool(io.vertx.pgclient.PgPool delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.pgclient.PgPool |
getDelegate() |
int |
hashCode() |
static PgPool |
newInstance(io.vertx.pgclient.PgPool arg) |
static PgPool |
pool()
Like
pool() with a default poolOptions . |
static PgPool |
pool(io.vertx.pgclient.PgConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
pool(io.vertx.sqlclient.PoolOptions poolOptions)
Like
pool() with connectOptions build from the environment variables. |
static PgPool |
pool(String connectionUri)
Like
pool() with a default poolOptions . |
static PgPool |
pool(String connectionUri,
io.vertx.sqlclient.PoolOptions poolOptions)
|
static PgPool |
pool(Vertx vertx,
io.vertx.pgclient.PgConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Like
pool() with a specific instance. |
static PgPool |
pool(Vertx vertx,
io.vertx.sqlclient.PoolOptions poolOptions)
Like
pool() with connectOptions build from the environment variables. |
static PgPool |
pool(Vertx vertx,
String connectionUri)
Like
pool() with a default poolOptions . |
static PgPool |
pool(Vertx vertx,
String connectionUri,
io.vertx.sqlclient.PoolOptions poolOptions)
|
String |
toString() |
close, close, getConnection, getConnection, newInstance, pool, pool, pool, preparedQuery, query, rxClose, rxGetConnection, rxWithConnection, rxWithTransaction, withConnection, withConnection, withTransaction, withTransaction
newInstance
public PgPool(io.vertx.pgclient.PgPool delegate)
public PgPool(Object delegate)
public io.vertx.pgclient.PgPool getDelegate()
getDelegate
in class Pool
public static PgPool pool(io.vertx.sqlclient.PoolOptions poolOptions)
pool()
with connectOptions
build from the environment variables.poolOptions
- public static PgPool pool(String connectionUri)
pool()
with a default poolOptions
.connectionUri
- public static PgPool pool(String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
connectionUri
- poolOptions
- public static PgPool pool(Vertx vertx, String connectionUri)
pool()
with a default poolOptions
.vertx
- connectionUri
- public static PgPool pool(Vertx vertx, io.vertx.sqlclient.PoolOptions poolOptions)
pool()
with connectOptions
build from the environment variables.vertx
- poolOptions
- public static PgPool pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
vertx
- connectionUri
- poolOptions
- public static PgPool pool(io.vertx.pgclient.PgConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
connectOptions
and poolOptions
.connectOptions
- poolOptions
- the options for creating the poolpublic static PgPool pool(Vertx vertx, io.vertx.pgclient.PgConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
pool()
with a specific instance.vertx
- connectOptions
- poolOptions
- public static PgPool newInstance(io.vertx.pgclient.PgPool arg)
Copyright © 2021 Eclipse. All rights reserved.