| Package | Description |
|---|---|
| io.vertx.sqlclient |
| Modifier and Type | Method and Description |
|---|---|
ClientBuilder<C> |
ClientBuilder.connectingTo(List<SqlConnectOptions> databases)
Configure the
database the client should connect to. |
ClientBuilder<C> |
ClientBuilder.connectingTo(SqlConnectOptions database)
Configure the
database the client should connect to. |
ClientBuilder<C> |
ClientBuilder.connectingTo(String database)
Configure the
database the client should connect to. |
ClientBuilder<C> |
ClientBuilder.connectingTo(Supplier<Future<SqlConnectOptions>> supplier)
Configure the
database the client should connect to. |
static ClientBuilder<Pool> |
ClientBuilder.pool(Driver driver)
Provide a builder for a pool of connections for the specified
Driver |
ClientBuilder<C> |
ClientBuilder.using(Vertx vertx)
Sets the vertx instance to use.
|
ClientBuilder<C> |
ClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options |
ClientBuilder<C> |
ClientBuilder.withConnectHandler(Handler<SqlConnection> handler)
Set a handler called when the pool has established a connection to the database.
|
| 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 |
Copyright © 2024 Eclipse. All rights reserved.