Modifier and Type | Class and Description |
---|---|
class |
DB2ConnectOptions
Connect options for configuring
DB2Connection or DB2Pool . |
Modifier and Type | Method and Description |
---|---|
static DB2ConnectOptions |
DB2ConnectOptions.wrap(SqlConnectOptions options) |
Constructor and Description |
---|
DB2ConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
DB2Driver.acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
DB2Driver.createConnectionFactory(Vertx vertx,
SqlConnectOptions database) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
DB2Driver.createConnectionFactory(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> database) |
Pool |
DB2Driver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Class and Description |
---|---|
class |
MSSQLConnectOptions
Connect options for configuring
MSSQLConnection . |
Modifier and Type | Method and Description |
---|---|
static MSSQLConnectOptions |
MSSQLConnectOptions.wrap(SqlConnectOptions options) |
Constructor and Description |
---|
MSSQLConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
MSSQLDriver.acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
MSSQLDriver.createConnectionFactory(Vertx vertx,
SqlConnectOptions database) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
MSSQLDriver.createConnectionFactory(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> database) |
Pool |
MSSQLDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Class and Description |
---|---|
class |
MySQLConnectOptions
Connect options for configuring
MySQLConnection or MySQLPool . |
Modifier and Type | Method and Description |
---|---|
static MySQLConnectOptions |
MySQLConnectOptions.wrap(SqlConnectOptions options) |
Constructor and Description |
---|
MySQLConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
MySQLDriver.acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
MySQLDriver.createConnectionFactory(Vertx vertx,
SqlConnectOptions database) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
MySQLDriver.createConnectionFactory(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> database) |
Pool |
MySQLDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Class and Description |
---|---|
class |
PgConnectOptions |
Modifier and Type | Method and Description |
---|---|
static PgConnectOptions |
PgConnectOptions.wrap(SqlConnectOptions options) |
Constructor and Description |
---|
PgConnectOptions(SqlConnectOptions other) |
Modifier and Type | Method and Description |
---|---|
boolean |
PgDriver.acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
PgDriver.createConnectionFactory(Vertx vertx,
SqlConnectOptions database) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
PgDriver.createConnectionFactory(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> database) |
Pool |
PgDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options . |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options . |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options . |
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.
|
static SqlConnectOptions |
SqlConnectOptions.fromUri(String connectionUri)
Provide a
SqlConnectOptions subclass configured from connectionUri . |
SqlConnectOptions |
SqlConnectOptions.merge(JsonObject other)
Returns new options created after this object and merged with the
other json config. |
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)
Like
Pool.pool(SqlConnectOptions, PoolOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(Vertx, SqlConnectOptions, PoolOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options . |
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 |
---|---|
SqlConnectOptions |
Driver.parseConnectionUri(String uri) |
Modifier and Type | Method and Description |
---|---|
boolean |
Driver.acceptsOptions(SqlConnectOptions connectOptions) |
Future<SqlConnection> |
ConnectionFactory.connect(Context context,
SqlConnectOptions options)
Create a connection using the given
context . |
ConnectionFactory |
Driver.createConnectionFactory(Vertx vertx,
SqlConnectOptions database)
Create a connection factory to the given
database . |
Modifier and Type | Method and Description |
---|---|
default Future<SqlConnection> |
ConnectionFactory.connect(Context context,
Future<? extends SqlConnectOptions> fut) |
ConnectionFactory |
Driver.createConnectionFactory(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> database)
Create a connection factory to the given
database . |
default Pool |
Driver.createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
default Pool |
Driver.createPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
default Pool |
Driver.newPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Pool |
Driver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Copyright © 2024 Eclipse. All rights reserved.