Package io.github.zero88.jooqx
Interface LegacyJooqxTx
- All Superinterfaces:
HasExecutor,JooqDSLProvider,LegacyInternal<io.vertx.ext.sql.SQLConnection>,SQLBatchExecutor,SQLBlockExecutor,SQLDDLExecutor,SQLDMLExecutor,SQLDQLExecutor,SQLExecutor<io.vertx.ext.sql.SQLConnection,,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> SQLPlainExecutor,SQLRoutineExecutor,SQLStatementExecutor,SQLTxExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx>
@Deprecated
public interface LegacyJooqxTx
extends LegacyInternal<io.vertx.ext.sql.SQLConnection>, SQLTxExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray,LegacySQLPreparedQuery,LegacySQLCollector,LegacyJooqxTx>
Deprecated.
Represents for a legacy SQL transaction executor
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescription<X> io.vertx.core.Future<X>run(@NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn) Deprecated.LikeSQLTxExecutor.run(Function, Handler)but returns aFutureof the asynchronous resultdefault <X> voidrun(@NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler) Deprecated.Run the transactional code@NotNull LegacyJooqxSessionsession()Deprecated.Open session executordefault @NotNull LegacyJooqxTxDeprecated.Open transaction executorMethods inherited from interface io.github.zero88.jooqx.JooqDSLProvider
dslMethods inherited from interface io.github.zero88.jooqx.LegacyInternal
preparedQuery, resultCollectorMethods inherited from interface io.github.zero88.jooqx.SQLBatchExecutor
batch, batch, batch, batchMethods inherited from interface io.github.zero88.jooqx.SQLBlockExecutor
block, block, block, blockMethods inherited from interface io.github.zero88.jooqx.SQLDDLExecutor
ddl, ddl, ddl, ddlMethods inherited from interface io.github.zero88.jooqx.SQLDMLExecutor
delete, delete, delete, delete, deleteQuery, deleteQuery, deleteQuery, deleteQuery, insert, insert, insert, insert, insertQuery, insertQuery, insertQuery, insertQuery, update, update, update, update, updateQuery, updateQuery, updateQuery, updateQueryMethods inherited from interface io.github.zero88.jooqx.SQLDQLExecutor
fetchCount, fetchCount, fetchCount, fetchCount, fetchExists, fetchExists, fetchExists, fetchExists, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonArray, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonObject, fetchJsonRecord, fetchJsonRecord, fetchJsonRecord, fetchJsonRecord, fetchJsonRecords, fetchJsonRecords, fetchJsonRecords, fetchJsonRecords, fetchMany, fetchMany, fetchMany, fetchMany, fetchOne, fetchOne, fetchOne, fetchOneMethods inherited from interface io.github.zero88.jooqx.SQLExecutor
errorConverter, executor, routine, routineResult, routineResultSet, sqlClient, typeMapperRegistry, vertxMethods inherited from interface io.github.zero88.jooqx.SQLPlainExecutor
sql, sql, sql, sql, sqlQuery, sqlQuery, sqlQuery, sqlQueryMethods inherited from interface io.github.zero88.jooqx.SQLRoutineExecutor
routine, routine, routine, routineResult, routineResultSet
-
Method Details
-
session
Deprecated.Description copied from interface:SQLExecutorOpen session executor- Specified by:
sessionin interfaceLegacyInternal<io.vertx.ext.sql.SQLConnection>- Specified by:
sessionin interfaceSQLExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> - Returns:
- transaction executor
- See Also:
-
transaction
Deprecated.Description copied from interface:SQLExecutorOpen transaction executor- Specified by:
transactionin interfaceLegacyInternal<io.vertx.ext.sql.SQLConnection>- Specified by:
transactionin interfaceSQLExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector> - Returns:
- transaction executor
- See Also:
-
run
default <X> void run(@NotNull @NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler) Deprecated.Description copied from interface:SQLTxExecutorRun the transactional code- Specified by:
runin interfaceSQLTxExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx> - Type Parameters:
X- Type of result- Parameters:
transactionFn- transaction functionhandler- handler
-
run
<X> io.vertx.core.Future<X> run(@NotNull @NotNull Function<LegacyJooqxTx, io.vertx.core.Future<X>> transactionFn) Deprecated.Description copied from interface:SQLTxExecutorLikeSQLTxExecutor.run(Function, Handler)but returns aFutureof the asynchronous result- Specified by:
runin interfaceSQLTxExecutor<io.vertx.ext.sql.SQLConnection,io.vertx.core.json.JsonArray, LegacySQLPreparedQuery, LegacySQLCollector, LegacyJooqxTx> - Type Parameters:
X- Type of result- Parameters:
transactionFn- transaction function- Returns:
- a
Futureof the asynchronous result
-