Interface SQLBatchExecutor

All Superinterfaces:
JooqDSLProvider
All Known Subinterfaces:
Jooqx, JooqxBase<S>, JooqxConn, JooqxSession, JooqxTx, LegacyInternal<S>, LegacyJooqx, LegacyJooqxSession, LegacyJooqxTx, SQLExecutor<S,B,PQ,RC>

public interface SQLBatchExecutor extends JooqDSLProvider
Represents for a batch executor that executes batch SQL command
Since:
1.0.0
  • 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 function
      bindBatchValues - bind batch values
      handler - 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)
      Like batch(Function, BindBatchValues, Handler) but returns a Future of the asynchronous result
      Parameters:
      queryFunction - query function
      bindBatchValues - 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 - query
      bindBatchValues - bind batch values
      handler - async result handler
      See Also:
    • batch

      io.vertx.core.Future<BatchResult> batch(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull BindBatchValues bindBatchValues)
      Like batch(Query, BindBatchValues, Handler) but returns a Future of the asynchronous result
      Parameters:
      query - query
      bindBatchValues - bind batch values
      Returns:
      a Future of the asynchronous result