Constructor and Description |
---|
MySQLDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsOptions(SqlConnectOptions options) |
Pool |
createPool(SqlConnectOptions options,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Pool |
createPool(Vertx vertx,
SqlConnectOptions options,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPool
public Pool createPool(SqlConnectOptions options, PoolOptions poolOptions)
Driver
connectOptions
and poolOptions
.createPool
in interface Driver
options
- the options used to create the connection pool, such as database hostnamepoolOptions
- the options for creating the poolpublic Pool createPool(Vertx vertx, SqlConnectOptions options, PoolOptions poolOptions)
Driver
connectOptions
and poolOptions
.createPool
in interface Driver
vertx
- the Vertx instance to be used with the connection pooloptions
- the options used to create the connection pool, such as database hostnamepoolOptions
- the options for creating the poolpublic boolean acceptsOptions(SqlConnectOptions options)
acceptsOptions
in interface Driver
connectOptions
, false otherwiseCopyright © 2023 Eclipse. All rights reserved.