Package io.vertx.mutiny.pgclient
Class PgPool
java.lang.Object
io.vertx.mutiny.sqlclient.SqlClient
io.vertx.mutiny.sqlclient.Pool
io.vertx.mutiny.pgclient.PgPool
- All Implemented Interfaces:
MutinyDelegate
Deprecated.
A of
PostgreSQL connections
.
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlClient
client()
Deprecated.static SqlClient
client
(Vertx vertx, io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
Deprecated.static SqlClient
Deprecated.static SqlClient
Deprecated.static SqlClient
client
(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
client
(Vertx vertx, List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
client
(io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
client
(io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
Deprecated.static SqlClient
Deprecated.static SqlClient
client
(Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.static SqlClient
Deprecated.connectHandler
(Consumer<SqlConnection> handler) Deprecated.connectionProvider
(Function<Context, io.smallrye.mutiny.Uni<SqlConnection>> provider) Deprecated.boolean
Deprecated.io.vertx.pgclient.PgPool
Deprecated.int
hashCode()
Deprecated.static PgPool
newInstance
(io.vertx.pgclient.PgPool arg) Deprecated.static PgPool
pool()
Deprecated.static PgPool
pool
(Vertx vertx, io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.static PgPool
Deprecated.static PgPool
Deprecated.static PgPool
Deprecated.static PgPool
pool
(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.static PgPool
pool
(Vertx vertx, List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.static PgPool
pool
(io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.static PgPool
pool
(io.vertx.sqlclient.PoolOptions options) Deprecated.static PgPool
Deprecated.static PgPool
Deprecated.static PgPool
pool
(Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.static PgPool
pool
(List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.toString()
Deprecated.Methods inherited from class io.vertx.mutiny.sqlclient.Pool
close, closeAndAwait, closeAndForget, getConnection, getConnectionAndAwait, getConnectionAndForget, newInstance, pool, pool, pool, preparedQuery, query, size, withConnection, withConnectionAndAwait, withConnectionAndForget, withTransaction, withTransaction, withTransactionAndAwait, withTransactionAndAwait, withTransactionAndForget, withTransactionAndForget
Methods inherited from class io.vertx.mutiny.sqlclient.SqlClient
newInstance, preparedQuery
-
Field Details
-
__TYPE_ARG
Deprecated.
-
-
Constructor Details
-
PgPool
public PgPool(io.vertx.pgclient.PgPool delegate) Deprecated. -
PgPool
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.pgclient.PgPool getDelegate()Deprecated.- Specified by:
getDelegate
in interfaceMutinyDelegate
- Overrides:
getDelegate
in classPool
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
pool
Deprecated.- Returns:
-
pool
Deprecated.- Parameters:
options
-- Returns:
-
pool
Deprecated.- Parameters:
connectionUri
-- Returns:
-
pool
Deprecated.- Parameters:
connectionUri
-options
-- Returns:
-
pool
Deprecated.- Parameters:
vertx
-connectionUri
-- Returns:
-
pool
Deprecated.- Parameters:
vertx
-options
-- Returns:
-
pool
public static PgPool pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.- Parameters:
vertx
-connectionUri
-poolOptions
-- Returns:
-
pool
public static PgPool pool(io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
database
- the databaseoptions
- the options for creating the pool- Returns:
- the connection pool
-
pool
public static PgPool pool(Vertx vertx, io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
vertx
-database
-options
-- Returns:
-
pool
public static PgPool pool(List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.- Parameters:
databases
- the list of databasespoolOptions
- the options for creating the pool- Returns:
- the connection pool
-
pool
public static PgPool pool(Vertx vertx, List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.- Parameters:
vertx
-databases
-poolOptions
-- Returns:
-
client
Deprecated.- Returns:
-
client
Deprecated.- Parameters:
options
-- Returns:
-
client
Deprecated.- Parameters:
connectionUri
-- Returns:
-
client
Deprecated.- Parameters:
connectionUri
-options
-- Returns:
-
client
Deprecated.- Parameters:
vertx
-connectionUri
-- Returns:
-
client
Deprecated.- Parameters:
vertx
-poolOptions
-- Returns:
-
client
public static SqlClient client(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
vertx
-connectionUri
-options
-- Returns:
-
client
public static SqlClient client(io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
database
-options
- the options for creating the backing pool- Returns:
- the pooled client
-
client
public static SqlClient client(Vertx vertx, io.vertx.pgclient.PgConnectOptions database, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
vertx
-database
-options
-- Returns:
-
client
public static SqlClient client(Vertx vertx, List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
vertx
-databases
-options
-- Returns:
-
client
public static SqlClient client(List<io.vertx.pgclient.PgConnectOptions> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
databases
- the list of databasesoptions
- the options for creating the pool- Returns:
- the pooled client
-
connectHandler
Deprecated.- Overrides:
connectHandler
in classPool
- Parameters:
handler
- the handler- Returns:
-
connectionProvider
Deprecated.- Overrides:
connectionProvider
in classPool
- Parameters:
provider
- the new connection provider- Returns:
- a reference to this, so the API can be used fluently
-
pool
public static PgPool pool(Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.- Parameters:
databases
- the databases supplierpoolOptions
- the options for creating the pool- Returns:
- the connection pool
-
pool
public static PgPool pool(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions poolOptions) Deprecated.- Parameters:
vertx
-databases
-poolOptions
-- Returns:
-
client
public static SqlClient client(Vertx vertx, Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
vertx
-databases
-options
-- Returns:
-
client
public static SqlClient client(Supplier<io.smallrye.mutiny.Uni<io.vertx.pgclient.PgConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options) Deprecated.- Parameters:
databases
- the databases supplieroptions
- the options for creating the pool- Returns:
- the pooled client
-
newInstance
Deprecated.
-