Package | Description |
---|---|
io.vertx.db2client | |
io.vertx.reactivex.db2client | |
io.vertx.rxjava.db2client |
Modifier and Type | Method and Description |
---|---|
DB2ConnectOptions |
DB2ConnectOptions.addProperty(String key,
String value) |
static DB2ConnectOptions |
DB2ConnectOptions.fromUri(String connectionUri)
Provide a
DB2ConnectOptions configured from a connection URI. |
DB2ConnectOptions |
DB2ConnectOptions.setCachePreparedStatements(boolean cachePreparedStatements) |
DB2ConnectOptions |
DB2ConnectOptions.setDatabase(String database) |
DB2ConnectOptions |
DB2ConnectOptions.setHost(String host) |
DB2ConnectOptions |
DB2ConnectOptions.setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions) |
DB2ConnectOptions |
DB2ConnectOptions.setKeyCertOptions(KeyCertOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setKeyStoreOptions(JksOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions) |
DB2ConnectOptions |
DB2ConnectOptions.setPassword(String password) |
DB2ConnectOptions |
DB2ConnectOptions.setPemKeyCertOptions(PemKeyCertOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setPemTrustOptions(PemTrustOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setPipeliningLimit(int pipeliningLimit)
Deprecated.
UNSTABLE FEATURE: Current default value is 1, anything higher
than 1 will result in errors currently.
|
DB2ConnectOptions |
DB2ConnectOptions.setPort(int port) |
DB2ConnectOptions |
DB2ConnectOptions.setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize) |
DB2ConnectOptions |
DB2ConnectOptions.setPreparedStatementCacheSqlFilter(java.util.function.Predicate<String> predicate) |
DB2ConnectOptions |
DB2ConnectOptions.setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit) |
DB2ConnectOptions |
DB2ConnectOptions.setProperties(Map<String,String> properties) |
DB2ConnectOptions |
DB2ConnectOptions.setSsl(boolean ssl) |
DB2ConnectOptions |
DB2ConnectOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) |
DB2ConnectOptions |
DB2ConnectOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) |
DB2ConnectOptions |
DB2ConnectOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) |
DB2ConnectOptions |
DB2ConnectOptions.setTrustAll(boolean trustAll) |
DB2ConnectOptions |
DB2ConnectOptions.setTrustOptions(TrustOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setTrustStoreOptions(JksOptions options) |
DB2ConnectOptions |
DB2ConnectOptions.setUser(String user) |
Modifier and Type | Method and Description |
---|---|
static void |
DB2Connection.connect(Vertx vertx,
DB2ConnectOptions connectOptions,
Handler<AsyncResult<DB2Connection>> handler)
Create a connection to DB2 server with the given
connectOptions . |
static void |
DB2ConnectOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
DB2ConnectOptions obj) |
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the DB2 server configured with the given
connectOptions and poolOptions . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Like
DB2Pool.pool(DB2ConnectOptions, PoolOptions) with a specific
Vertx instance. |
static void |
DB2ConnectOptionsConverter.toJson(DB2ConnectOptions obj,
JsonObject json) |
static void |
DB2ConnectOptionsConverter.toJson(DB2ConnectOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
DB2ConnectOptions(DB2ConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
static void |
DB2Connection.connect(Vertx vertx,
DB2ConnectOptions connectOptions,
Handler<AsyncResult<DB2Connection>> handler)
Create a connection to DB2 server with the given
connectOptions . |
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the DB2 server configured with the given
connectOptions and poolOptions . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static Single<DB2Connection> |
DB2Connection.rxConnect(Vertx vertx,
DB2ConnectOptions connectOptions)
Create a connection to DB2 server with the given
connectOptions . |
Modifier and Type | Method and Description |
---|---|
static void |
DB2Connection.connect(Vertx vertx,
DB2ConnectOptions connectOptions,
Handler<AsyncResult<DB2Connection>> handler)
Create a connection to DB2 server with the given
connectOptions . |
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the DB2 server configured with the given
connectOptions and poolOptions . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static Single<DB2Connection> |
DB2Connection.rxConnect(Vertx vertx,
DB2ConnectOptions connectOptions)
Create a connection to DB2 server with the given
connectOptions . |
Copyright © 2023 Eclipse. All rights reserved.