Modifier and Type | Method and Description |
---|---|
static ClientBuilder<SqlClient> |
DB2Builder.client()
Provide a builder for DB2 client backed by a connection pool.
|
static ClientBuilder<Pool> |
DB2Builder.pool()
Provide a builder for DB2 pool of connections
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Builder.client(Handler<ClientBuilder<SqlClient>> handler)
Build a client backed by a connection pool with the specified
block argument. |
static Pool |
DB2Builder.pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument. |
Modifier and Type | Method and Description |
---|---|
static ClientBuilder<Pool> |
MSSQLBuilder.pool()
Provide a builder for MSSQL pool of connections
|
Modifier and Type | Method and Description |
---|---|
static Pool |
MSSQLBuilder.pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument. |
Modifier and Type | Method and Description |
---|---|
static ClientBuilder<SqlClient> |
MySQLBuilder.client()
Provide a builder for MySQL client backed by a connection pool.
|
static ClientBuilder<Pool> |
MySQLBuilder.pool()
Provide a builder for MySQL pool of connections
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLBuilder.client(Handler<ClientBuilder<SqlClient>> handler)
Build a client backed by a connection pool with the specified
block argument. |
static Pool |
MySQLBuilder.pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument. |
Modifier and Type | Method and Description |
---|---|
static ClientBuilder<SqlClient> |
PgBuilder.client()
Provide a builder for PostgreSQL client backed by a connection pool.
|
static ClientBuilder<Pool> |
PgBuilder.pool()
Provide a builder for PostgreSQL pool of connections
|
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgBuilder.client(Handler<ClientBuilder<SqlClient>> handler)
Build a client backed by a connection pool with the specified
block argument. |
static Pool |
PgBuilder.pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument. |
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
ClientBuilder.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg) |
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg,
io.vertx.lang.rx.TypeArg<C> __typeArg_C) |
Constructor and Description |
---|
ClientBuilder(ClientBuilder delegate) |
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
ClientBuilder.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg) |
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg,
io.vertx.lang.rx.TypeArg<C> __typeArg_C) |
Constructor and Description |
---|
ClientBuilder(ClientBuilder delegate) |
Modifier and Type | Method and Description |
---|---|
ClientBuilder |
ClientBuilder.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg) |
static <C> ClientBuilder<C> |
ClientBuilder.newInstance(ClientBuilder arg,
io.vertx.lang.rx.TypeArg<C> __typeArg_C) |
Constructor and Description |
---|
ClientBuilder(ClientBuilder delegate) |
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(java.util.function.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.