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