Interface SQLStatementExecutor

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

public interface SQLStatementExecutor extends JooqDSLProvider
Represents for an executor that executes SQL statement
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T, R> io.vertx.core.Future<R>
    execute(@NotNull Function<org.jooq.DSLContext,org.jooq.Query> queryFunction, @NotNull SQLResultAdapter<T,R> resultAdapter)
    Like execute(Function, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
    default <T, R> void
    execute(@NotNull Function<org.jooq.DSLContext,org.jooq.Query> queryFunction, @NotNull SQLResultAdapter<T,R> resultAdapter, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
    Execute jOOQ query then return async result
    default io.vertx.core.Future<Integer>
    execute(@NotNull Function<org.jooq.DSLContext,org.jooq.RowCountQuery> rowCountQueryFn)
    Like execute(Function, Handler) but returns a Future of the asynchronous result
    default void
    execute(@NotNull Function<org.jooq.DSLContext,org.jooq.RowCountQuery> rowCountQueryFn, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute row count query statement
    <T, R> io.vertx.core.Future<R>
    execute(@NotNull org.jooq.Query query, @NotNull SQLResultAdapter<T,R> resultAdapter)
    Like execute(Query, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
    default <T, R> void
    execute(@NotNull org.jooq.Query query, @NotNull SQLResultAdapter<T,R> resultAdapter, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
    Execute jOOQ query then return async result
    io.vertx.core.Future<Integer>
    execute(@NotNull org.jooq.RowCountQuery statement)
    Like execute(RowCountQuery, Handler) but returns a Future of the asynchronous result
    default void
    execute(@NotNull org.jooq.RowCountQuery statement, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute row count query statement

    Methods inherited from interface io.github.zero88.jooqx.JooqDSLProvider

    dsl
  • Method Details

    • execute

      default <T, R> void execute(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.Query> queryFunction, @NotNull @NotNull SQLResultAdapter<T,R> resultAdapter, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
      Execute jOOQ query then return async result
      Parameters:
      queryFunction - the jOOQ query function
      resultAdapter - the result adapter
      handler - the async result handler
      Since:
      2.0.0
      See Also:
    • execute

      default <T, R> io.vertx.core.Future<R> execute(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.Query> queryFunction, @NotNull @NotNull SQLResultAdapter<T,R> resultAdapter)
      Like execute(Function, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
      Parameters:
      queryFunction - the jOOQ query function
      resultAdapter - the result adapter
      Returns:
      a Future of the asynchronous result
      Since:
      2.0.0
    • execute

      default <T, R> void execute(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull SQLResultAdapter<T,R> resultAdapter, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
      Execute jOOQ query then return async result
      Parameters:
      query - the jOOQ query
      resultAdapter - the result adapter
      handler - the async result handler
      See Also:
    • execute

      <T, R> io.vertx.core.Future<R> execute(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull SQLResultAdapter<T,R> resultAdapter)
      Like execute(Query, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
      Parameters:
      query - the jOOQ query
      resultAdapter - the result adapter
      Returns:
      a Future of the asynchronous result
    • execute

      default void execute(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.RowCountQuery> rowCountQueryFn, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute row count query statement
      Parameters:
      rowCountQueryFn - A function produces row count query statement
      handler - async result handler
      Since:
      2.0.0
      See Also:
      • RowCountQuery
    • execute

      default io.vertx.core.Future<Integer> execute(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.RowCountQuery> rowCountQueryFn)
      Like execute(Function, Handler) but returns a Future of the asynchronous result
      Parameters:
      rowCountQueryFn - A function produces row count query statement
      Returns:
      a Future of the asynchronous result
      Since:
      2.0.0
    • execute

      default void execute(@NotNull @NotNull org.jooq.RowCountQuery statement, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute row count query statement
      Parameters:
      statement - a row count query statement
      handler - async result handler
      Since:
      2.0.0
    • execute

      io.vertx.core.Future<Integer> execute(@NotNull @NotNull org.jooq.RowCountQuery statement)
      Like execute(RowCountQuery, Handler) but returns a Future of the asynchronous result
      Parameters:
      statement - a row count query statement
      Returns:
      a Future of the asynchronous result
      Since:
      2.0.0