| Package | Description | 
|---|---|
| io.vertx.db2client | |
| io.vertx.mysqlclient | |
| io.vertx.pgclient | |
| io.vertx.reactivex.sqlclient | |
| io.vertx.rxjava.sqlclient | |
| io.vertx.sqlclient | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
DB2Connection
A connection to DB2 server. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DB2Connection | 
DB2Connection.cast(SqlConnection sqlConnection)
Cast a  
SqlConnection to DB2Connection. | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
MySQLConnection
An interface which represents a connection to MySQL server. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MySQLConnection | 
MySQLConnection.cast(SqlConnection sqlConnection)
Cast a  
SqlConnection to MySQLConnection. | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
PgConnection
A connection to Postgres. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PgConnection | 
PgConnection.cast(SqlConnection sqlConnection)
Cast a  
SqlConnection to PgConnection. | 
| Modifier and Type | Method and Description | 
|---|---|
SqlConnection | 
SqlConnection.getDelegate()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SqlConnection | 
SqlConnection.newInstance(SqlConnection arg)  | 
| Constructor and Description | 
|---|
SqlConnection(SqlConnection delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
SqlConnection | 
SqlConnection.getDelegate()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SqlConnection | 
SqlConnection.newInstance(SqlConnection arg)  | 
| Constructor and Description | 
|---|
SqlConnection(SqlConnection delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
SqlConnection | 
SqlConnection.closeHandler(Handler<Void> handler)
Set an handler called when the connection is closed. 
 | 
SqlConnection | 
SqlConnection.exceptionHandler(Handler<Throwable> handler)
Set an handler called with connection errors. 
 | 
SqlConnection | 
SqlConnection.prepare(String sql,
       Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the given  
sql string. | 
| Modifier and Type | Method and Description | 
|---|---|
Future<SqlConnection> | 
Pool.getConnection()
Like  
Pool.getConnection(Handler) but returns a Future of the asynchronous result | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Pool.getConnection(Handler<AsyncResult<SqlConnection>> handler)
Get a connection from the pool. 
 | 
default <T> Future<T> | 
Pool.withConnection(java.util.function.Function<SqlConnection,Future<T>> function)
Like  
Pool.withTransaction(Function, Handler) but returns a Future of the asynchronous result | 
default <T> void | 
Pool.withConnection(java.util.function.Function<SqlConnection,Future<T>> function,
              Handler<AsyncResult<T>> handler)
Get a connection from the pool and execute the given  
function. | 
default <T> Future<T> | 
Pool.withTransaction(java.util.function.Function<SqlConnection,Future<T>> function)
Like  
Pool.withTransaction(Function, Handler) but returns a Future of the asynchronous result | 
default <T> void | 
Pool.withTransaction(java.util.function.Function<SqlConnection,Future<T>> function,
               Handler<AsyncResult<T>> handler)
Execute the given  
function within a transaction. | 
Copyright © 2021 Eclipse. All rights reserved.