Modifier and Type | Class and Description |
---|---|
class |
DB2ConnectOptions
Connect options for configuring
DB2Connection or DB2Pool . |
Constructor and Description |
---|
DB2ConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
DB2Driver.acceptsOptions(SqlConnectOptions options) |
Pool |
DB2Driver.createPool(SqlConnectOptions options,
PoolOptions poolOptions) |
Pool |
DB2Driver.createPool(Vertx vertx,
SqlConnectOptions options,
PoolOptions poolOptions) |
Modifier and Type | Class and Description |
---|---|
class |
MySQLConnectOptions
Connect options for configuring
MySQLConnection or MySQLPool . |
Constructor and Description |
---|
MySQLConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
MySQLDriver.acceptsOptions(SqlConnectOptions options) |
Pool |
MySQLDriver.createPool(SqlConnectOptions options,
PoolOptions poolOptions) |
Pool |
MySQLDriver.createPool(Vertx vertx,
SqlConnectOptions options,
PoolOptions poolOptions) |
Modifier and Type | Class and Description |
---|---|
class |
PgConnectOptions |
Constructor and Description |
---|
PgConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
PgDriver.acceptsOptions(SqlConnectOptions options) |
Pool |
PgDriver.createPool(SqlConnectOptions options,
PoolOptions poolOptions) |
Pool |
PgDriver.createPool(Vertx vertx,
SqlConnectOptions options,
PoolOptions poolOptions) |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Create a connection pool to the database configured with the given
connectOptions and default PoolOptions |
static Pool |
Pool.pool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Create a connection pool to the database configured with the given
connectOptions and default PoolOptions |
static Pool |
Pool.pool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Modifier and Type | Method and Description |
---|---|
SqlConnectOptions |
SqlConnectOptions.addProperty(String key,
String value)
Add a property for this client, which will be sent to server at the connection start.
|
SqlConnectOptions |
SqlConnectOptions.setCachePreparedStatements(boolean cachePreparedStatements)
Set whether prepared statements cache should be enabled.
|
SqlConnectOptions |
SqlConnectOptions.setDatabase(String database)
Specify the default database for the connection.
|
SqlConnectOptions |
SqlConnectOptions.setHost(String host)
Specify the host for connecting to the server.
|
SqlConnectOptions |
SqlConnectOptions.setPassword(String password)
Specify the user password to be used for the authentication.
|
SqlConnectOptions |
SqlConnectOptions.setPort(int port)
Specify the port for connecting to the server.
|
SqlConnectOptions |
SqlConnectOptions.setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize)
Set the maximum number of prepared statements that the connection will cache.
|
SqlConnectOptions |
SqlConnectOptions.setPreparedStatementCacheSqlFilter(java.util.function.Predicate<String> predicate)
Set a predicate filtering prepared statements that the connection will cache.
|
SqlConnectOptions |
SqlConnectOptions.setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit)
Set the maximum length of prepared statement SQL string that the connection will cache.
|
SqlConnectOptions |
SqlConnectOptions.setProperties(Map<String,String> properties)
Set properties for this client, which will be sent to server at the connection start.
|
SqlConnectOptions |
SqlConnectOptions.setTracingPolicy(TracingPolicy tracingPolicy)
Set the tracing policy for the client behavior when Vert.x has tracing enabled.
|
SqlConnectOptions |
SqlConnectOptions.setUser(String user)
Specify the user account to be used for the authentication.
|
Modifier and Type | Method and Description |
---|---|
static void |
SqlConnectOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
SqlConnectOptions obj) |
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Create a connection pool to the database configured with the given
connectOptions and default PoolOptions |
static Pool |
Pool.pool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static void |
SqlConnectOptionsConverter.toJson(SqlConnectOptions obj,
JsonObject json) |
static void |
SqlConnectOptionsConverter.toJson(SqlConnectOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
SqlConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
Driver.acceptsOptions(SqlConnectOptions connectOptions) |
default Pool |
Driver.createPool(SqlConnectOptions connectOptions)
Create a connection pool to the database configured with the given
connectOptions and default PoolOptions |
Pool |
Driver.createPool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Pool |
Driver.createPool(Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Copyright © 2021 Eclipse. All rights reserved.