Package | Description |
---|---|
io.vertx.reactivex.ext.jdbc | |
io.vertx.reactivex.ext.sql |
Modifier and Type | Class and Description |
---|---|
class |
JDBCClient
An asynchronous client interface for interacting with a JDBC compliant database
NOTE: This class has been automatically generated from the
original non RX-ified interface using Vert.x codegen. |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SQLClient> |
SQLClient.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
SQLClient |
SQLClient.call(String sql)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLClient |
SQLClient.call(String sql,
Handler<AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLClient |
SQLClient.callWithParams(String sql,
JsonArray params,
JsonArray outputs)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLClient |
SQLClient.callWithParams(String sql,
JsonArray params,
JsonArray outputs,
Handler<AsyncResult<ResultSet>> handler)
Calls the given SQL
PROCEDURE which returns the result from the procedure. |
SQLClient |
SQLClient.getConnection()
Returns a connection that can be used to perform SQL operations on.
|
SQLClient |
SQLClient.getConnection(Handler<AsyncResult<SQLConnection>> handler)
Returns a connection that can be used to perform SQL operations on.
|
static SQLClient |
SQLClient.newInstance(SQLClient arg) |
SQLClient |
SQLClient.query(String sql)
Execute a single SQL statement, this method acquires a connection from the the pool and executes the SQL
statement and returns it back after the execution.
|
SQLClient |
SQLClient.query(String sql,
Handler<AsyncResult<ResultSet>> handler)
Execute a single SQL statement, this method acquires a connection from the the pool and executes the SQL
statement and returns it back after the execution.
|
SQLClient |
SQLClient.queryStream(String sql)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
SQLClient |
SQLClient.queryStream(String sql,
Handler<AsyncResult<SQLRowStream>> handler)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
SQLClient |
SQLClient.queryStreamWithParams(String sql,
JsonArray params)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
SQLClient |
SQLClient.queryStreamWithParams(String sql,
JsonArray params,
Handler<AsyncResult<SQLRowStream>> handler)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
SQLClient |
SQLClient.queryWithParams(String sql,
JsonArray arguments)
Execute a single SQL prepared statement, this method acquires a connection from the the pool and executes the SQL
prepared statement and returns it back after the execution.
|
SQLClient |
SQLClient.queryWithParams(String sql,
JsonArray arguments,
Handler<AsyncResult<ResultSet>> handler)
Execute a single SQL prepared statement, this method acquires a connection from the the pool and executes the SQL
prepared statement and returns it back after the execution.
|
SQLClient |
SQLClient.update(String sql)
Executes the given SQL statement which may be an
INSERT , UPDATE , or DELETE
statement. |
SQLClient |
SQLClient.update(String sql,
Handler<AsyncResult<UpdateResult>> handler)
Executes the given SQL statement which may be an
INSERT , UPDATE , or DELETE
statement. |
SQLClient |
SQLClient.updateWithParams(String sql,
JsonArray params)
Executes the given prepared statement which may be an
INSERT , UPDATE , or DELETE
statement with the given parameters |
SQLClient |
SQLClient.updateWithParams(String sql,
JsonArray params,
Handler<AsyncResult<UpdateResult>> handler)
Executes the given prepared statement which may be an
INSERT , UPDATE , or DELETE
statement with the given parameters |
Modifier and Type | Method and Description |
---|---|
static Completable |
SQLClientHelper.inTransactionCompletable(SQLClient client,
java.util.function.Function<SQLConnection,Completable> sourceSupplier)
Generates a
Completable from SQLConnection operations executed inside a transaction. |
static <T> Flowable<T> |
SQLClientHelper.inTransactionFlowable(SQLClient client,
java.util.function.Function<SQLConnection,Flowable<T>> sourceSupplier)
Generates a
Flowable from SQLConnection operations executed inside a transaction. |
static <T> Maybe<T> |
SQLClientHelper.inTransactionMaybe(SQLClient client,
java.util.function.Function<SQLConnection,Maybe<T>> sourceSupplier)
Generates a
Maybe from SQLConnection operations executed inside a transaction. |
static <T> Observable<T> |
SQLClientHelper.inTransactionObservable(SQLClient client,
java.util.function.Function<SQLConnection,Observable<T>> sourceSupplier)
Generates a
Observable from SQLConnection operations executed inside a transaction. |
static <T> Single<T> |
SQLClientHelper.inTransactionSingle(SQLClient client,
java.util.function.Function<SQLConnection,Single<T>> sourceSupplier)
Generates a
Single from SQLConnection operations executed inside a transaction. |
static Completable |
SQLClientHelper.usingConnectionCompletable(SQLClient client,
java.util.function.Function<SQLConnection,Completable> sourceSupplier)
Generates a
Completable from SQLConnection operations. |
static <T> Flowable<T> |
SQLClientHelper.usingConnectionFlowable(SQLClient client,
java.util.function.Function<SQLConnection,Flowable<T>> sourceSupplier)
Generates a
Flowable from SQLConnection operations. |
static <T> Maybe<T> |
SQLClientHelper.usingConnectionMaybe(SQLClient client,
java.util.function.Function<SQLConnection,Maybe<T>> sourceSupplier)
Generates a
Maybe from SQLConnection operations. |
static <T> Observable<T> |
SQLClientHelper.usingConnectionObservable(SQLClient client,
java.util.function.Function<SQLConnection,Observable<T>> sourceSupplier)
Generates a
Observable from SQLConnection operations. |
static <T> Single<T> |
SQLClientHelper.usingConnectionSingle(SQLClient client,
java.util.function.Function<SQLConnection,Single<T>> sourceSupplier)
Generates a
Single from SQLConnection operations. |
Copyright © 2022 Eclipse. All rights reserved.