public interface Driver
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsOptions(SqlConnectOptions connectOptions) |
default Pool |
createPool(SqlConnectOptions connectOptions)
Create a connection pool to the database configured with the given
connectOptions and default PoolOptions |
Pool |
createPool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Pool |
createPool(Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
default Pool createPool(SqlConnectOptions connectOptions)
connectOptions
and default PoolOptions
connectOptions
- the options used to create the connection pool, such as database hostnamePool createPool(SqlConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions
and poolOptions
.connectOptions
- the options used to create the connection pool, such as database hostnamepoolOptions
- the options for creating the poolPool createPool(Vertx vertx, SqlConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions
and poolOptions
.vertx
- the Vertx instance to be used with the connection poolconnectOptions
- the options used to create the connection pool, such as database hostnamepoolOptions
- the options for creating the poolboolean acceptsOptions(SqlConnectOptions connectOptions)
connectOptions
, false otherwiseCopyright © 2021 Eclipse. All rights reserved.