| Constructor and Description |
|---|
MySQLDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
createConnectionFactory(Vertx vertx,
SqlConnectOptions database)
Create a connection factory to the given
database. |
MySQLPool |
createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
public MySQLPool createPool(Vertx vertx, List<? extends SqlConnectOptions> databases, PoolOptions options)
DriverconnectOptions and poolOptions.createPool in interface Driververtx - the Vertx instance to be used with the connection pooldatabases - the list of databasesoptions - the options for creating the poolpublic boolean acceptsOptions(SqlConnectOptions options)
acceptsOptions in interface DriverconnectOptions, false otherwisepublic ConnectionFactory createConnectionFactory(Vertx vertx, SqlConnectOptions database)
Driverdatabase.createConnectionFactory in interface Driververtx - the Vertx instance tdatabase - the database to connect toCopyright © 2021 Eclipse. All rights reserved.