Modifier and Type | Class and Description |
---|---|
class |
DB2Connection
A connection to DB2 server.
|
Modifier and Type | Method and Description |
---|---|
static DB2Connection |
DB2Connection.cast(SqlConnection sqlConnection)
Cast a to
DB2Connection . |
Modifier and Type | Method and Description |
---|---|
DB2Pool |
DB2Pool.connectHandler(Handler<SqlConnection> handler) |
DB2Pool |
DB2Pool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
DB2Pool |
DB2Pool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
Modifier and Type | Class and Description |
---|---|
class |
MSSQLConnection
A connection to Microsoft SQL Server.
|
Modifier and Type | Method and Description |
---|---|
static MSSQLConnection |
MSSQLConnection.cast(SqlConnection sqlConnection)
Cast a to
MSSQLConnection . |
Modifier and Type | Method and Description |
---|---|
MSSQLPool |
MSSQLPool.connectHandler(Handler<SqlConnection> handler) |
MSSQLPool |
MSSQLPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
MSSQLPool |
MSSQLPool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
Modifier and Type | Class and Description |
---|---|
class |
MySQLConnection
An interface which represents a connection to MySQL server.
|
Modifier and Type | Method and Description |
---|---|
static MySQLConnection |
MySQLConnection.cast(SqlConnection sqlConnection)
Cast a to
MySQLConnection . |
Modifier and Type | Method and Description |
---|---|
MySQLPool |
MySQLPool.connectHandler(Handler<SqlConnection> handler) |
MySQLPool |
MySQLPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
MySQLPool |
MySQLPool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
Modifier and Type | Class and Description |
---|---|
class |
OracleConnection
A connection to Oracle Database.
|
Modifier and Type | Method and Description |
---|---|
static OracleConnection |
OracleConnection.cast(SqlConnection sqlConnection)
Cast a to
OracleConnection . |
Modifier and Type | Method and Description |
---|---|
OraclePool |
OraclePool.connectHandler(Handler<SqlConnection> handler) |
OraclePool |
OraclePool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
OraclePool |
OraclePool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
Modifier and Type | Class and Description |
---|---|
class |
PgConnection
A connection to Postgres.
|
Modifier and Type | Method and Description |
---|---|
static PgConnection |
PgConnection.cast(SqlConnection sqlConnection)
Cast a to
PgConnection . |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.connectHandler(Handler<SqlConnection> handler) |
PgPool |
PgPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
PgPool |
PgPool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SqlConnection> |
SqlConnection.__TYPE_ARG |
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.
|
static SqlConnection |
SqlConnection.newInstance(SqlConnection arg) |
SqlConnection |
SqlConnection.prepare(String sql)
Create a prepared statement using the given
sql string. |
SqlConnection |
SqlConnection.prepare(String sql,
Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the given
sql string. |
SqlConnection |
SqlConnection.prepare(String sql,
PrepareOptions options)
Create a prepared statement using the given
sql string. |
SqlConnection |
SqlConnection.prepare(String sql,
PrepareOptions options,
Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the given
sql string. |
Modifier and Type | Method and Description |
---|---|
Single<SqlConnection> |
Pool.rxGetConnection()
Get a connection from the pool.
|
Modifier and Type | Method and Description |
---|---|
Pool |
Pool.connectHandler(Handler<SqlConnection> handler)
Deprecated.
|
Pool |
Pool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider)
Deprecated.
|
Pool |
Pool.connectionProvider(Function<Context,Single<SqlConnection>> provider)
Deprecated.
|
void |
Pool.getConnection(Handler<AsyncResult<SqlConnection>> handler)
Get a connection from the pool.
|
<T> Maybe<T> |
Pool.rxWithConnection(java.util.function.Function<SqlConnection,Future<T>> function)
Get a connection from the pool and execute the given
function . |
<T> Maybe<T> |
Pool.rxWithConnection(Function<SqlConnection,Maybe<T>> function)
Get a connection from the pool and execute the given
function . |
<T> Maybe<T> |
Pool.rxWithTransaction(java.util.function.Function<SqlConnection,Future<T>> function)
Execute the given
function within a transaction. |
<T> Maybe<T> |
Pool.rxWithTransaction(Function<SqlConnection,Maybe<T>> function)
Execute the given
function within a transaction. |
<T> Maybe<T> |
Pool.rxWithTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> Maybe<T> |
Pool.rxWithTransaction(TransactionPropagation txPropagation,
Function<SqlConnection,Maybe<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
ClientBuilder<C> |
ClientBuilder.withConnectHandler(Handler<SqlConnection> handler)
Set a handler called when the pool has established a connection to the database.
|
<T> void |
Pool.withConnection(java.util.function.Function<SqlConnection,Future<T>> function)
Get a connection from the pool and execute the given
function . |
<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 . |
<T> void |
Pool.withConnection(Function<SqlConnection,Maybe<T>> function)
Get a connection from the pool and execute the given
function . |
<T> void |
Pool.withConnection(Function<SqlConnection,Maybe<T>> function,
Handler<AsyncResult<T>> handler)
Get a connection from the pool and execute the given
function . |
<T> void |
Pool.withTransaction(java.util.function.Function<SqlConnection,Future<T>> function)
Execute the given
function within a transaction. |
<T> void |
Pool.withTransaction(java.util.function.Function<SqlConnection,Future<T>> function,
Handler<AsyncResult<T>> handler)
Execute the given
function within a transaction. |
<T> void |
Pool.withTransaction(Function<SqlConnection,Maybe<T>> function)
Execute the given
function within a transaction. |
<T> void |
Pool.withTransaction(Function<SqlConnection,Maybe<T>> function,
Handler<AsyncResult<T>> handler)
Execute the given
function within a transaction. |
<T> void |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> void |
Pool.withTransaction(TransactionPropagation txPropagation,
java.util.function.Function<SqlConnection,Future<T>> function,
Handler<AsyncResult<T>> handler)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> void |
Pool.withTransaction(TransactionPropagation txPropagation,
Function<SqlConnection,Maybe<T>> function)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
<T> void |
Pool.withTransaction(TransactionPropagation txPropagation,
Function<SqlConnection,Maybe<T>> function,
Handler<AsyncResult<T>> handler)
Like
Pool.withTransaction(java.util.function.Function<io.vertx.reactivex.sqlclient.SqlConnection, io.vertx.core.Future<T>>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) but allows for setting the mode, defining how the acquired
connection is managed during the execution of the function. |
Copyright © 2024 Eclipse. All rights reserved.