Interface SQLDDLExecutor

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 SQLDDLExecutor extends JooqDSLProvider, HasExecutor
Represents for a DDL executor that executes SQL DDL statements
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.vertx.core.Future<Integer>
    ddl(@NotNull Function<org.jooq.DSLContext,org.jooq.DDLQuery> ddlFunction)
    Like ddl(Function, Handler) but returns a Future of the asynchronous result
    default void
    ddl(@NotNull Function<org.jooq.DSLContext,org.jooq.DDLQuery> ddlFunction, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute DDL statement
    default io.vertx.core.Future<Integer>
    ddl(@NotNull org.jooq.DDLQuery statement)
    Like ddl(DDLQuery, Handler) but returns a Future of the asynchronous result
    default void
    ddl(@NotNull org.jooq.DDLQuery statement, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
    Execute DDL statement

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

    executor

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

    dsl
  • Method Details

    • ddl

      default void ddl(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.DDLQuery> ddlFunction, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute DDL statement
      Parameters:
      ddlFunction - DDL function produces DDL statement
      handler - async result handler
      Since:
      2.0.0
    • ddl

      default io.vertx.core.Future<Integer> ddl(@NotNull @NotNull Function<org.jooq.DSLContext,org.jooq.DDLQuery> ddlFunction)
      Like ddl(Function, Handler) but returns a Future of the asynchronous result
      Parameters:
      ddlFunction - DDL function produces DDL statement
      Returns:
      a Future of the asynchronous result
      Since:
      2.0.0
    • ddl

      default void ddl(@NotNull @NotNull org.jooq.DDLQuery statement, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler)
      Execute DDL statement
      Parameters:
      statement - DDL statement
      handler - async result handler
      Since:
      2.0.0
    • ddl

      default io.vertx.core.Future<Integer> ddl(@NotNull @NotNull org.jooq.DDLQuery statement)
      Like ddl(DDLQuery, Handler) but returns a Future of the asynchronous result
      Parameters:
      statement - DDL statement
      Returns:
      a Future of the asynchronous result
      Since:
      2.0.0