Uses of Class
io.vertx.reactivex.sqlclient.SqlConnection
-
-
Uses of SqlConnection in io.vertx.reactivex.db2client
Subclasses of SqlConnection in io.vertx.reactivex.db2client Modifier and Type Class Description class
DB2Connection
A connection to DB2 server.Methods in io.vertx.reactivex.db2client with parameters of type SqlConnection Modifier and Type Method Description static DB2Connection
DB2Connection. cast(SqlConnection sqlConnection)
Cast a toDB2Connection
.Method parameters in io.vertx.reactivex.db2client with type arguments of type SqlConnection Modifier and Type Method Description DB2Pool
DB2Pool. connectHandler(Handler<SqlConnection> handler)
DB2Pool
DB2Pool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
DB2Pool
DB2Pool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
-
Uses of SqlConnection in io.vertx.reactivex.mssqlclient
Subclasses of SqlConnection in io.vertx.reactivex.mssqlclient Modifier and Type Class Description class
MSSQLConnection
A connection to Microsoft SQL Server.Methods in io.vertx.reactivex.mssqlclient with parameters of type SqlConnection Modifier and Type Method Description static MSSQLConnection
MSSQLConnection. cast(SqlConnection sqlConnection)
Cast a toMSSQLConnection
.Method parameters in io.vertx.reactivex.mssqlclient with type arguments of type SqlConnection Modifier and Type Method Description MSSQLPool
MSSQLPool. connectHandler(Handler<SqlConnection> handler)
MSSQLPool
MSSQLPool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
MSSQLPool
MSSQLPool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
-
Uses of SqlConnection in io.vertx.reactivex.mysqlclient
Subclasses of SqlConnection in io.vertx.reactivex.mysqlclient Modifier and Type Class Description class
MySQLConnection
An interface which represents a connection to MySQL server.Methods in io.vertx.reactivex.mysqlclient with parameters of type SqlConnection Modifier and Type Method Description static MySQLConnection
MySQLConnection. cast(SqlConnection sqlConnection)
Cast a toMySQLConnection
.Method parameters in io.vertx.reactivex.mysqlclient with type arguments of type SqlConnection Modifier and Type Method Description MySQLPool
MySQLPool. connectHandler(Handler<SqlConnection> handler)
MySQLPool
MySQLPool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
MySQLPool
MySQLPool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
-
Uses of SqlConnection in io.vertx.reactivex.oracleclient
Subclasses of SqlConnection in io.vertx.reactivex.oracleclient Modifier and Type Class Description class
OracleConnection
A connection to Oracle Database.Methods in io.vertx.reactivex.oracleclient with parameters of type SqlConnection Modifier and Type Method Description static OracleConnection
OracleConnection. cast(SqlConnection sqlConnection)
Cast a toOracleConnection
.Method parameters in io.vertx.reactivex.oracleclient with type arguments of type SqlConnection Modifier and Type Method Description OraclePool
OraclePool. connectHandler(Handler<SqlConnection> handler)
OraclePool
OraclePool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
OraclePool
OraclePool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
-
Uses of SqlConnection in io.vertx.reactivex.pgclient
Subclasses of SqlConnection in io.vertx.reactivex.pgclient Modifier and Type Class Description class
PgConnection
A connection to Postgres.Methods in io.vertx.reactivex.pgclient with parameters of type SqlConnection Modifier and Type Method Description static PgConnection
PgConnection. cast(SqlConnection sqlConnection)
Cast a toPgConnection
.Method parameters in io.vertx.reactivex.pgclient with type arguments of type SqlConnection Modifier and Type Method Description PgPool
PgPool. connectHandler(Handler<SqlConnection> handler)
PgPool
PgPool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
PgPool
PgPool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
-
Uses of SqlConnection in io.vertx.reactivex.sqlclient
Fields in io.vertx.reactivex.sqlclient with type parameters of type SqlConnection Modifier and Type Field Description static TypeArg<SqlConnection>
SqlConnection. __TYPE_ARG
Methods in io.vertx.reactivex.sqlclient that return SqlConnection Modifier and Type Method 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 givensql
string.SqlConnection
SqlConnection. prepare(String sql, Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the givensql
string.SqlConnection
SqlConnection. prepare(String sql, PrepareOptions options)
Create a prepared statement using the givensql
string.SqlConnection
SqlConnection. prepare(String sql, PrepareOptions options, Handler<AsyncResult<PreparedStatement>> handler)
Create a prepared statement using the givensql
string.Methods in io.vertx.reactivex.sqlclient that return types with arguments of type SqlConnection Modifier and Type Method Description io.reactivex.Single<SqlConnection>
Pool. rxGetConnection()
Get a connection from the pool.Method parameters in io.vertx.reactivex.sqlclient with type arguments of type SqlConnection Modifier and Type Method Description Pool
Pool. connectHandler(Handler<SqlConnection> handler)
Set an handler called when the pool has established a connection to the database.Pool
Pool. connectionProvider(io.reactivex.functions.Function<Context,io.reactivex.Single<SqlConnection>> provider)
Replace the default pool connection provider, the newprovider
returns a future connection for a given .Pool
Pool. connectionProvider(Function<Context,Future<SqlConnection>> provider)
Replace the default pool connection provider, the newprovider
returns a future connection for a given .void
Pool. getConnection(Handler<AsyncResult<SqlConnection>> handler)
Get a connection from the pool.<T> io.reactivex.Maybe<T>
Pool. rxWithConnection(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function)
Get a connection from the pool and execute the givenfunction
.<T> io.reactivex.Maybe<T>
Pool. rxWithConnection(Function<SqlConnection,Future<T>> function)
Get a connection from the pool and execute the givenfunction
.<T> io.reactivex.Maybe<T>
Pool. rxWithTransaction(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function)
Execute the givenfunction
within a transaction.<T> io.reactivex.Maybe<T>
Pool. rxWithTransaction(Function<SqlConnection,Future<T>> function)
Execute the givenfunction
within a transaction.<T> void
Pool. withConnection(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function)
Get a connection from the pool and execute the givenfunction
.<T> void
Pool. withConnection(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function, Handler<AsyncResult<T>> handler)
Get a connection from the pool and execute the givenfunction
.<T> void
Pool. withConnection(Function<SqlConnection,Future<T>> function)
Get a connection from the pool and execute the givenfunction
.<T> void
Pool. withConnection(Function<SqlConnection,Future<T>> function, Handler<AsyncResult<T>> handler)
Get a connection from the pool and execute the givenfunction
.<T> void
Pool. withTransaction(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function)
Execute the givenfunction
within a transaction.<T> void
Pool. withTransaction(io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function, Handler<AsyncResult<T>> handler)
Execute the givenfunction
within a transaction.<T> Future<T>
Pool. withTransaction(TransactionPropagation txPropagation, io.reactivex.functions.Function<SqlConnection,io.reactivex.Maybe<T>> function)
LikePool.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> Future<T>
Pool. withTransaction(TransactionPropagation txPropagation, Function<SqlConnection,Future<T>> function)
LikePool.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(Function<SqlConnection,Future<T>> function)
Execute the givenfunction
within a transaction.<T> void
Pool. withTransaction(Function<SqlConnection,Future<T>> function, Handler<AsyncResult<T>> handler)
Execute the givenfunction
within a transaction.
-