Interface SQLPlainExecutor

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

public interface SQLPlainExecutor extends JooqDSLProvider, HasExecutor
Represents for a DDL executor that executes batch SQL command
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.vertx.core.Future<Integer>
    sql(@NotNull String statement)
    Like sql(String, Handler) but returns a Future of the asynchronous result
    default void
    sql(@NotNull String statement, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)
    default io.vertx.core.Future<Integer>
    sql(@NotNull Function<org.jooq.DSLContext,String> sqlFunction)
    Like sql(Function, Handler) but returns a Future of the asynchronous result
    default void
    sql(@NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)
    default <T, R> io.vertx.core.Future<R>
    sqlQuery(@NotNull String statement, @NotNull SQLResultAdapter<T,R> adapter)
    Like sqlQuery(String, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
    default <T, R> void
    sqlQuery(@NotNull String statement, @NotNull SQLResultAdapter<T,R> adapter, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
    Execute the plain SQL statement with results (e.g: SELECT, etc...)
    default <T, R> io.vertx.core.Future<R>
    sqlQuery(@NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull SQLResultAdapter<T,R> adapter)
    Like sqlQuery(Function, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
    default <T, R> void
    sqlQuery(@NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull SQLResultAdapter<T,R> adapter, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
    Execute the plain SQL statement with results (e.g: SELECT, etc...)

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

    executor

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

    dsl
  • Method Details

    • sql

      default void sql(@NotNull @NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)
      Parameters:
      sqlFunction - the plain SQL function products a plain SQL statement without result
      handler - async result handler
    • sql

      default io.vertx.core.Future<Integer> sql(@NotNull @NotNull Function<org.jooq.DSLContext,String> sqlFunction)
      Like sql(Function, Handler) but returns a Future of the asynchronous result
      Parameters:
      sqlFunction - the plain SQL function products a plain SQL statement without result
      Returns:
      a Future of the asynchronous result
    • sql

      default void sql(@NotNull @NotNull String statement, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute the plain SQL statement without result (e.g: SET, INSERT, UPDATE, etc...)
      Parameters:
      statement - the plain SQL statement without result
      handler - async result handler
    • sql

      default io.vertx.core.Future<Integer> sql(@NotNull @NotNull String statement)
      Like sql(String, Handler) but returns a Future of the asynchronous result
      Parameters:
      statement - the plain SQL statement without result
      Returns:
      a Future of the asynchronous result
    • sqlQuery

      default <T, R> void sqlQuery(@NotNull @NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull @NotNull SQLResultAdapter<T,R> adapter, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
      Execute the plain SQL statement with results (e.g: SELECT, etc...)
      Parameters:
      sqlFunction - the plain SQL function products a plain SQL statement with results
      adapter - the result adapter
      handler - async result handler
    • sqlQuery

      default <T, R> io.vertx.core.Future<R> sqlQuery(@NotNull @NotNull Function<org.jooq.DSLContext,String> sqlFunction, @NotNull @NotNull SQLResultAdapter<T,R> adapter)
      Like sqlQuery(Function, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
      Parameters:
      sqlFunction - the plain SQL function products a plain SQL statement with results
      adapter - the result adapter
      Returns:
      a Future of the asynchronous result
    • sqlQuery

      default <T, R> void sqlQuery(@NotNull @NotNull String statement, @NotNull @NotNull SQLResultAdapter<T,R> adapter, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<R>> handler)
      Execute the plain SQL statement with results (e.g: SELECT, etc...)
      Parameters:
      statement - the plain SQL statement with results
      adapter - the result adapter
      handler - async result handler
    • sqlQuery

      default <T, R> io.vertx.core.Future<R> sqlQuery(@NotNull @NotNull String statement, @NotNull @NotNull SQLResultAdapter<T,R> adapter)
      Like sqlQuery(String, SQLResultAdapter, Handler) but returns a Future of the asynchronous result
      Parameters:
      statement - the plain SQL statement with results
      Returns:
      a Future of the asynchronous result