Package io.vertx.mutiny.jdbcclient
Class JDBCPool
- java.lang.Object
-
- io.vertx.mutiny.sqlclient.SqlClient
-
- io.vertx.mutiny.sqlclient.Pool
-
- io.vertx.mutiny.jdbcclient.JDBCPool
-
public class JDBCPool extends Pool
JDBCPool is the interface that allows using the Sql Client API with plain JDBC. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<JDBCPool>
__TYPE_ARG
static PropertyKind<Row>
GENERATED_KEYS
The property to be used to retrieve the generated keysstatic PropertyKind<Boolean>
OUTPUT
The 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 boolean
equals(Object o)
io.vertx.jdbcclient.JDBCPool
getDelegate()
int
hashCode()
static JDBCPool
newInstance(io.vertx.jdbcclient.JDBCPool arg)
static JDBCPool
pool(Vertx vertx, io.vertx.core.json.JsonObject config)
static JDBCPool
pool(Vertx vertx, io.vertx.jdbcclient.JDBCConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
String
toString()
-
Methods inherited from class io.vertx.mutiny.sqlclient.Pool
close, closeAndAwait, closeAndForget, connectHandler, connectionProvider, getConnection, getConnectionAndAwait, getConnectionAndForget, newInstance, pool, pool, pool, preparedQuery, query, size, withConnection, withConnectionAndAwait, withConnectionAndForget, withTransaction, withTransactionAndAwait, withTransactionAndForget
-
Methods inherited from class io.vertx.mutiny.sqlclient.SqlClient
newInstance
-
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
JDBCPool
public JDBCPool(io.vertx.jdbcclient.JDBCPool delegate)
-
JDBCPool
public JDBCPool(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.jdbcclient.JDBCPool getDelegate()
- Overrides:
getDelegate
in classPool
-
pool
public static JDBCPool pool(Vertx vertx, io.vertx.jdbcclient.JDBCConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
- Parameters:
vertx
- the Vert.x instanceconnectOptions
- the options to configure the connectionpoolOptions
- the connection pool options- Returns:
- the client
-
pool
public static JDBCPool pool(Vertx vertx, io.vertx.core.json.JsonObject config)
- Parameters:
vertx
- the Vert.x instanceconfig
- the options to configure the client using the same format asJDBCClient
- Returns:
- the client
-
newInstance
public static JDBCPool newInstance(io.vertx.jdbcclient.JDBCPool arg)
-
-