public class JDBCPool extends Pool
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<JDBCPool> |
__TYPE_ARG |
static PropertyKind<Row> |
GENERATED_KEYS
The property to be used to retrieve the generated keys
|
static PropertyKind<Boolean> |
OUTPUT
The property to be used to retrieve the output of the callable statement
|
| Constructor and Description |
|---|
JDBCPool(io.vertx.jdbcclient.JDBCPool delegate) |
JDBCPool(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
io.vertx.jdbcclient.JDBCPool |
getDelegate() |
int |
hashCode() |
static JDBCPool |
newInstance(io.vertx.jdbcclient.JDBCPool arg) |
static JDBCPool |
pool(Vertx vertx,
DataSource dataSource)
Create a JDBC pool using a pre-initialized data source.
|
static JDBCPool |
pool(Vertx vertx,
DataSource dataSource,
io.vertx.core.json.JsonObject config)
Create a JDBC pool using a pre-initialized data source.
|
static JDBCPool |
pool(Vertx vertx,
io.vertx.ext.jdbc.spi.DataSourceProvider dataSourceProvider)
Create a JDBC pool which maintains its own data source.
|
static JDBCPool |
pool(Vertx vertx,
io.vertx.jdbcclient.JDBCConnectOptions connectOptions,
io.vertx.sqlclient.PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source.
|
static JDBCPool |
pool(Vertx vertx,
io.vertx.core.json.JsonObject config)
Create a JDBC pool which maintains its own data source.
|
String |
toString() |
close, connectHandler, connectionProvider, getConnection, newInstance, pool, pool, pool, preparedQuery, query, rxClose, rxGetConnection, rxWithConnection, rxWithTransaction, size, withConnection, withTransactionnewInstance, preparedQuerypublic static final PropertyKind<Row> GENERATED_KEYS
public static final PropertyKind<Boolean> OUTPUT
public JDBCPool(io.vertx.jdbcclient.JDBCPool delegate)
public JDBCPool(Object delegate)
public io.vertx.jdbcclient.JDBCPool getDelegate()
getDelegate in class Poolpublic static JDBCPool pool(Vertx vertx, io.vertx.jdbcclient.JDBCConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
vertx - the Vert.x instanceconnectOptions - the options to configure the connectionpoolOptions - the connection pool optionspublic static JDBCPool pool(Vertx vertx, io.vertx.core.json.JsonObject config)
vertx - the Vert.x instanceconfig - the options to configure the client using the same format as ext.jdbc.JDBCClientpublic static JDBCPool pool(Vertx vertx, io.vertx.ext.jdbc.spi.DataSourceProvider dataSourceProvider)
vertx - the Vert.x instancedataSourceProvider - the options to configure the client using the same format as ext.jdbc.JDBCClientpublic static JDBCPool pool(Vertx vertx, DataSource dataSource)
vertx - the Vert.x instancedataSource - a pre-initialized data sourcepublic static JDBCPool pool(Vertx vertx, DataSource dataSource, io.vertx.core.json.JsonObject config)
url - the connection stringuser - the connection user namedatabase - the database namemaxPoolSize - the max allowed number of connections in the poolvertx - the Vert.x instancedataSource - a pre-initialized data sourceconfig - the pool configurationpublic static JDBCPool newInstance(io.vertx.jdbcclient.JDBCPool arg)
Copyright © 2022 Eclipse. All rights reserved.