Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<DB2Builder> |
__TYPE_ARG |
Constructor and Description |
---|
DB2Builder(DB2Builder delegate) |
DB2Builder(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static ClientBuilder<SqlClient> |
client()
Provide a builder for DB2 client backed by a connection pool.
|
static SqlClient |
client(Handler<ClientBuilder<SqlClient>> handler)
Build a client backed by a connection pool with the specified
block argument. |
boolean |
equals(Object o) |
DB2Builder |
getDelegate() |
int |
hashCode() |
static DB2Builder |
newInstance(DB2Builder arg) |
static ClientBuilder<Pool> |
pool()
Provide a builder for DB2 pool of connections
|
static Pool |
pool(Handler<ClientBuilder<Pool>> block)
Build a pool with the specified
block argument. |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<DB2Builder> __TYPE_ARG
public DB2Builder(DB2Builder delegate)
public DB2Builder(Object delegate)
public DB2Builder getDelegate()
public static Pool pool(Handler<ClientBuilder<Pool>> block)
block
argument.
The block
argument is usually a lambda that configures the provided builder
Example usage: Pool pool = PgBuilder.pool(builder -> builder.connectingTo(connectOptions));
block
- block
public static ClientBuilder<Pool> pool()
Example usage: Pool pool = PgBuilder.pool().connectingTo(connectOptions).build()
public static SqlClient client(Handler<ClientBuilder<SqlClient>> handler)
block
argument.
The block
argument is usually a lambda that configures the provided builder
Example usage: SqlClient client = PgBuilder.client(builder -> builder.connectingTo(connectOptions));
handler
- block
public static ClientBuilder<SqlClient> client()
Example usage: SqlClient client = PgBuilder.client().connectingTo(connectOptions).build()
public static DB2Builder newInstance(DB2Builder arg)
Copyright © 2024 Eclipse. All rights reserved.