Package io.vertx.rxjava3.jdbcclient
Class JDBCPool
- java.lang.Object
-
- io.vertx.rxjava3.sqlclient.SqlClient
-
- io.vertx.rxjava3.sqlclient.Pool
-
- io.vertx.rxjava3.jdbcclient.JDBCPool
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class JDBCPool extends Pool implements io.vertx.lang.rx.RxDelegate
JDBCPool is the interface that allows using the Sql Client API with plain JDBC.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<JDBCPool>__TYPE_ARGstatic PropertyKind<Row>GENERATED_KEYSThe property to be used to retrieve the generated keysstatic PropertyKind<Boolean>OUTPUTThe property to be used to retrieve the output of the callable statement
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)JDBCPoolgetDelegate()inthashCode()static JDBCPoolnewInstance(JDBCPool arg)static Poolpool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)Create a JDBC pool which maintains its own data source.static Poolpool(Vertx vertx, DataSource dataSource, PoolOptions poolOptions)Create a JDBC pool using a pre-initialized data source, note this data source does not need to be a pool.StringtoString()-
Methods inherited from class io.vertx.rxjava3.sqlclient.Pool
getConnection, newInstance, pool, pool, pool, preparedQuery, query, rxGetConnection, rxWithConnection, rxWithTransaction, rxWithTransaction, size, withConnection, withTransaction, withTransaction
-
Methods inherited from class io.vertx.rxjava3.sqlclient.SqlClient
close, newInstance, preparedQuery, rxClose
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<JDBCPool> __TYPE_ARG
-
GENERATED_KEYS
public static final PropertyKind<Row> GENERATED_KEYS
The property to be used to retrieve the generated keys
-
OUTPUT
public static final PropertyKind<Boolean> OUTPUT
The property to be used to retrieve the output of the callable statement
-
-
Method Detail
-
getDelegate
public JDBCPool getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate- Overrides:
getDelegatein classPool
-
pool
public static Pool pool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source.- Parameters:
vertx- the Vert.x instanceconnectOptions- the options to configure the connectionpoolOptions- the connection pool options- Returns:
- the client
-
pool
public static Pool pool(Vertx vertx, DataSource dataSource, PoolOptions poolOptions)
Create a JDBC pool using a pre-initialized data source, note this data source does not need to be a pool.- Parameters:
vertx- the Vert.x instancedataSource- a pre-initialized data sourcepoolOptions-- Returns:
- the client
-
-