| Package | Description |
|---|---|
| io.vertx.sqlclient | |
| io.vertx.sqlclient.spi |
| Modifier and Type | Method and Description |
|---|---|
Pool |
Pool.connectHandler(Handler<SqlConnection> handler)
Deprecated.
instead use
ClientBuilder.withConnectHandler(Handler) |
Pool |
Pool.connectionProvider(Function<Context,Future<SqlConnection>> provider)
Deprecated.
instead use
ClientBuilder.connectingTo(Supplier) |
static Pool |
ClientBuilder.pool(Driver driver,
Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument and Driver
The block argument is usually a lambda that configures the provided builder |
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Like
pool(SqlConnectOptions, PoolOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
pool(Vertx, SqlConnectOptions, PoolOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options. |
| Modifier and Type | Method and Description |
|---|---|
static ClientBuilder<Pool> |
ClientBuilder.pool(Driver driver)
Provide a builder for a pool of connections for the specified
Driver |
| Modifier and Type | Method and Description |
|---|---|
static Pool |
ClientBuilder.pool(Driver driver,
Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument and Driver
The block argument is usually a lambda that configures the provided builder |
| Modifier and Type | Method and Description |
|---|---|
default Pool |
Driver.createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
default Pool |
Driver.createPool(Vertx vertx,
Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
default Pool |
Driver.newPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
Pool |
Driver.newPool(Vertx vertx,
Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
Copyright © 2023 Eclipse. All rights reserved.