Package io.github.zero88.jooqx
Interface SQLBatchExecutor
- All Superinterfaces:
JooqDSLProvider
- All Known Subinterfaces:
Jooqx
,JooqxBase<S>
,JooqxConn
,JooqxSession
,JooqxTx
,LegacyInternal<S>
,LegacyJooqx
,LegacyJooqxSession
,LegacyJooqxTx
,SQLExecutor<S,
B, PQ, RC>
Represents for a
batch executor
that executes batch SQL command- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.vertx.core.Future<BatchResult>
batch
(@NotNull Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, @NotNull BindBatchValues bindBatchValues) Likebatch(Function, BindBatchValues, Handler)
but returns aFuture
of the asynchronous resultdefault void
batch
(@NotNull Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, @NotNull BindBatchValues bindBatchValues, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<BatchResult>> handler) Batch executeio.vertx.core.Future<BatchResult>
batch
(@NotNull org.jooq.Query query, @NotNull BindBatchValues bindBatchValues) Likebatch(Query, BindBatchValues, Handler)
but returns aFuture
of the asynchronous resultdefault void
batch
(@NotNull org.jooq.Query query, @NotNull BindBatchValues bindBatchValues, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<BatchResult>> handler) Batch executeMethods inherited from interface io.github.zero88.jooqx.JooqDSLProvider
dsl
-
Method Details
-
batch
default void batch(@NotNull @NotNull Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, @NotNull @NotNull BindBatchValues bindBatchValues, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<BatchResult>> handler) Batch execute- Parameters:
queryFunction
- query functionbindBatchValues
- bind batch valueshandler
- async result handler- Since:
- 2.0.0
- See Also:
-
batch
default io.vertx.core.Future<BatchResult> batch(@NotNull @NotNull Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, @NotNull @NotNull BindBatchValues bindBatchValues) Likebatch(Function, BindBatchValues, Handler)
but returns aFuture
of the asynchronous result- Parameters:
queryFunction
- query functionbindBatchValues
- bind batch values- Returns:
- a
Future
of the asynchronous result - Since:
- 2.0.0
-
batch
default void batch(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull BindBatchValues bindBatchValues, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<BatchResult>> handler) Batch execute- Parameters:
query
- querybindBatchValues
- bind batch valueshandler
- async result handler- See Also:
-
batch
io.vertx.core.Future<BatchResult> batch(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull BindBatchValues bindBatchValues) Likebatch(Query, BindBatchValues, Handler)
but returns aFuture
of the asynchronous result- Parameters:
query
- querybindBatchValues
- bind batch values- Returns:
- a
Future
of the asynchronous result
-