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 io.vertx.lang.rx.TypeArg<PgPool> |
__TYPE_ARG |
Constructor and Description |
---|
PgPool(Object delegate) |
PgPool(PgPool delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PgPool |
getDelegate() |
int |
hashCode() |
static PgPool |
newInstance(PgPool arg) |
static PgPool |
pool()
Like
pool() with a default poolOptions . |
static PgPool |
pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
pool(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,
PoolOptions poolOptions)
|
static PgPool |
pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
pool() with a specific instance. |
static PgPool |
pool(Vertx vertx,
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,
PoolOptions poolOptions)
|
String |
toString() |
close, close, getConnection, getConnection, newInstance, pool, pool, pool, preparedQuery, query, rxClose, rxGetConnection, rxWithConnection, rxWithTransaction, withConnection, withConnection, withTransaction, withTransaction
newInstance
public static final io.vertx.lang.rx.TypeArg<PgPool> __TYPE_ARG
public PgPool getDelegate()
getDelegate
in class Pool
public static PgPool pool(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, 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, PoolOptions poolOptions)
pool()
with connectOptions
build from the environment variables.vertx
- poolOptions
- public static PgPool pool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
vertx
- connectionUri
- poolOptions
- public static PgPool pool(PgConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions
and poolOptions
.connectOptions
- poolOptions
- the options for creating the poolpublic static PgPool pool(Vertx vertx, PgConnectOptions connectOptions, PoolOptions poolOptions)
pool()
with a specific instance.vertx
- connectOptions
- poolOptions
- Copyright © 2021 Eclipse. All rights reserved.