Package io.github.zero88.jooqx.rxjava3
Class JooqxTx
java.lang.Object
io.github.zero88.jooqx.rxjava3.JooqxConn
io.github.zero88.jooqx.rxjava3.JooqxTx
Represents for a reactive SQL transaction executor
NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<BatchResult>
batch
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues) Batch executeio.reactivex.rxjava3.core.Single<BatchResult>
batch
(org.jooq.Query query, BindBatchValues bindBatchValues) Batch execute<T,
R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> batchResult
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Result batch execute<T,
R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> batchResult
(org.jooq.Query query, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Execute batch statements then receive resultsio.reactivex.rxjava3.core.Single<BlockResult>
block
(BlockQuery blockQuery) Block executeio.reactivex.rxjava3.core.Single<BlockResult>
block
(Function<org.jooq.DSLContext, BlockQuery> blockQueryFn) Block executeio.reactivex.rxjava3.core.Single<Integer>
Execute DDL statementio.reactivex.rxjava3.core.Single<Integer>
ddl
(org.jooq.DDLQuery statement) Execute DDL statementboolean
<T,
R> io.reactivex.rxjava3.core.Maybe<R> execute
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async resultio.reactivex.rxjava3.core.Single<Integer>
Execute row count query statement<T,
R> io.reactivex.rxjava3.core.Maybe<R> execute
(org.jooq.Query query, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async resultio.reactivex.rxjava3.core.Single<Integer>
execute
(org.jooq.RowCountQuery statement) Execute row count query statementint
hashCode()
static JooqxTx
newInstance
(JooqxTx arg) <T> io.reactivex.rxjava3.core.Single<T>
<T> io.vertx.core.Future<T>
routine
(org.jooq.Routine<T> routine, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler) <T> io.reactivex.rxjava3.core.Single<RoutineResult>
routineResult
(org.jooq.Routine<T> routine) <T,
X, R> io.vertx.core.Future<R> routineResultSet
(org.jooq.Routine<T> routine, SQLResultAdapter<X, R> resultAdapter, io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler) <X> io.reactivex.rxjava3.core.Single<X>
io.reactivex.rxjava3.core.Single<BatchResult>
rxBatch
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues) Batch executeio.reactivex.rxjava3.core.Single<BatchResult>
rxBatch
(org.jooq.Query query, BindBatchValues bindBatchValues) Batch execute<T,
R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> rxBatchResult
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Result batch execute<T,
R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> rxBatchResult
(org.jooq.Query query, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Execute batch statements then receive resultsio.reactivex.rxjava3.core.Single<BlockResult>
rxBlock
(BlockQuery blockQuery) Block executeio.reactivex.rxjava3.core.Single<BlockResult>
rxBlock
(Function<org.jooq.DSLContext, BlockQuery> blockQueryFn) Block executeio.reactivex.rxjava3.core.Single<Integer>
Execute DDL statementio.reactivex.rxjava3.core.Single<Integer>
rxDdl
(org.jooq.DDLQuery statement) Execute DDL statement<T,
R> io.reactivex.rxjava3.core.Maybe<R> rxExecute
(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async resultio.reactivex.rxjava3.core.Single<Integer>
Execute row count query statement<T,
R> io.reactivex.rxjava3.core.Maybe<R> rxExecute
(org.jooq.Query query, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async resultio.reactivex.rxjava3.core.Single<Integer>
rxExecute
(org.jooq.RowCountQuery statement) Execute row count query statement<T> io.reactivex.rxjava3.core.Single<T>
<T> io.reactivex.rxjava3.core.Single<RoutineResult>
rxRoutineResult
(org.jooq.Routine<T> routine) <X> io.reactivex.rxjava3.core.Single<X>
io.reactivex.rxjava3.core.Single<Integer>
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)io.reactivex.rxjava3.core.Single<Integer>
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)<T,
R> io.reactivex.rxjava3.core.Maybe<R> rxSqlQuery
(String statement, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)<T,
R> io.reactivex.rxjava3.core.Maybe<R> rxSqlQuery
(Function<org.jooq.DSLContext, String> sqlFunction, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)io.reactivex.rxjava3.core.Single<Integer>
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)io.reactivex.rxjava3.core.Single<Integer>
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)<T,
R> io.reactivex.rxjava3.core.Maybe<R> sqlQuery
(String statement, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)<T,
R> io.reactivex.rxjava3.core.Maybe<R> sqlQuery
(Function<org.jooq.DSLContext, String> sqlFunction, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)toString()
Methods inherited from class io.github.zero88.jooqx.rxjava3.JooqxConn
builder, dsl, errorConverter, newInstance, preparedQuery, resultCollector, session, sqlClient, typeMapperRegistry, vertx
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
JooqxTx
-
JooqxTx
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getDelegate
- Overrides:
getDelegate
in classJooqxConn
-
sql
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...) -
rxSql
Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...) -
transaction
- Overrides:
transaction
in classJooqxConn
-
run
-
rxRun
-
batchResult
public <T,R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> batchResult(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Result batch execute- Overrides:
batchResult
in classJooqxConn
- Parameters:
queryFunction
- query functionbindBatchValues
- bind batch valuesadapter
-- Returns:
-
rxBatchResult
public <T,R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> rxBatchResult(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Result batch execute- Overrides:
rxBatchResult
in classJooqxConn
- Parameters:
queryFunction
- query functionbindBatchValues
- bind batch valuesadapter
-- Returns:
-
batchResult
public <T,R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> batchResult(org.jooq.Query query, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Execute batch statements then receive results- Overrides:
batchResult
in classJooqxConn
- Parameters:
query
- jOOQ querybindBatchValues
- bind batch valuesadapter
- result adapter- Returns:
-
rxBatchResult
public <T,R> io.reactivex.rxjava3.core.Single<BatchReturningResult<R>> rxBatchResult(org.jooq.Query query, BindBatchValues bindBatchValues, SQLResultListAdapter<T, R> adapter) Execute batch statements then receive results- Overrides:
rxBatchResult
in classJooqxConn
- Parameters:
query
- jOOQ querybindBatchValues
- bind batch valuesadapter
- result adapter- Returns:
-
routine
public <T> io.reactivex.rxjava3.core.Single<T> routine(Function<org.jooq.DSLContext, org.jooq.Routine<T>> routineFunction) -
rxRoutine
public <T> io.reactivex.rxjava3.core.Single<T> rxRoutine(Function<org.jooq.DSLContext, org.jooq.Routine<T>> routineFunction) -
routine
public <T> io.vertx.core.Future<T> routine(org.jooq.Routine<T> routine, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler) -
routineResult
public <T> io.reactivex.rxjava3.core.Single<RoutineResult> routineResult(org.jooq.Routine<T> routine) - Overrides:
routineResult
in classJooqxConn
-
rxRoutineResult
public <T> io.reactivex.rxjava3.core.Single<RoutineResult> rxRoutineResult(org.jooq.Routine<T> routine) - Overrides:
rxRoutineResult
in classJooqxConn
-
routineResultSet
public <T,X, io.vertx.core.Future<R> routineResultSetR> (org.jooq.Routine<T> routine, SQLResultAdapter<X, R> resultAdapter, io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler) - Overrides:
routineResultSet
in classJooqxConn
-
block
public io.reactivex.rxjava3.core.Single<BlockResult> block(Function<org.jooq.DSLContext, BlockQuery> blockQueryFn) Block execute -
rxBlock
public io.reactivex.rxjava3.core.Single<BlockResult> rxBlock(Function<org.jooq.DSLContext, BlockQuery> blockQueryFn) Block execute -
block
Block execute -
rxBlock
Block execute -
sql
public io.reactivex.rxjava3.core.Single<Integer> sql(Function<org.jooq.DSLContext, String> sqlFunction) Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...) -
rxSql
public io.reactivex.rxjava3.core.Single<Integer> rxSql(Function<org.jooq.DSLContext, String> sqlFunction) Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...) -
sqlQuery
public <T,R> io.reactivex.rxjava3.core.Maybe<R> sqlQuery(Function<org.jooq.DSLContext, String> sqlFunction, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...) -
rxSqlQuery
public <T,R> io.reactivex.rxjava3.core.Maybe<R> rxSqlQuery(Function<org.jooq.DSLContext, String> sqlFunction, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)- Overrides:
rxSqlQuery
in classJooqxConn
- Parameters:
sqlFunction
- the plain SQL function products a plain SQL statement with resultsadapter
- the result adapter- Returns:
-
sqlQuery
public <T,R> io.reactivex.rxjava3.core.Maybe<R> sqlQuery(String statement, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...) -
rxSqlQuery
public <T,R> io.reactivex.rxjava3.core.Maybe<R> rxSqlQuery(String statement, SQLResultAdapter<T, R> adapter) Execute the plain SQL statement with results (e.g: SELECT, etc...)- Overrides:
rxSqlQuery
in classJooqxConn
- Parameters:
statement
- the plain SQL statement with resultsadapter
- the result adapter- Returns:
-
batch
public io.reactivex.rxjava3.core.Single<BatchResult> batch(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues) Batch execute -
rxBatch
public io.reactivex.rxjava3.core.Single<BatchResult> rxBatch(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, BindBatchValues bindBatchValues) Batch execute -
batch
public io.reactivex.rxjava3.core.Single<BatchResult> batch(org.jooq.Query query, BindBatchValues bindBatchValues) Batch execute -
rxBatch
public io.reactivex.rxjava3.core.Single<BatchResult> rxBatch(org.jooq.Query query, BindBatchValues bindBatchValues) Batch execute -
execute
public <T,R> io.reactivex.rxjava3.core.Maybe<R> execute(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async result -
rxExecute
public <T,R> io.reactivex.rxjava3.core.Maybe<R> rxExecute(Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async result -
execute
public <T,R> io.reactivex.rxjava3.core.Maybe<R> execute(org.jooq.Query query, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async result -
rxExecute
public <T,R> io.reactivex.rxjava3.core.Maybe<R> rxExecute(org.jooq.Query query, SQLResultAdapter<T, R> resultAdapter) ExecutejOOQ query
then return async result -
execute
public io.reactivex.rxjava3.core.Single<Integer> execute(Function<org.jooq.DSLContext, org.jooq.RowCountQuery> rowCountQueryFn) Execute row count query statement -
rxExecute
public io.reactivex.rxjava3.core.Single<Integer> rxExecute(Function<org.jooq.DSLContext, org.jooq.RowCountQuery> rowCountQueryFn) Execute row count query statement -
execute
Execute row count query statement -
rxExecute
Execute row count query statement -
ddl
public io.reactivex.rxjava3.core.Single<Integer> ddl(Function<org.jooq.DSLContext, org.jooq.DDLQuery> ddlFunction) Execute DDL statement -
rxDdl
public io.reactivex.rxjava3.core.Single<Integer> rxDdl(Function<org.jooq.DSLContext, org.jooq.DDLQuery> ddlFunction) Execute DDL statement -
ddl
Execute DDL statement -
rxDdl
Execute DDL statement -
newInstance
-