Constructor and Description |
---|
MSSQLDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsOptions(SqlConnectOptions options) |
ConnectionFactory |
createConnectionFactory(Vertx vertx,
SqlConnectOptions database)
Create a connection factory to the given
database . |
MSSQLPool |
createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
public MSSQLPool createPool(Vertx vertx, List<? extends SqlConnectOptions> databases, PoolOptions options)
Driver
connectOptions
and poolOptions
.createPool
in interface Driver
vertx
- 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 Driver
connectOptions
, false otherwisepublic ConnectionFactory createConnectionFactory(Vertx vertx, SqlConnectOptions database)
Driver
database
.createConnectionFactory
in interface Driver
vertx
- the Vertx instance tdatabase
- the database to connect toCopyright © 2021 Eclipse. All rights reserved.