Package io.github.zero88.jooqx
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>
Represents for a
DDL executor that executes SQL DDL statements- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.vertx.core.Future<Integer>Likeddl(Function, Handler)but returns aFutureof the asynchronous resultdefault voidddl(@NotNull Function<org.jooq.DSLContext, org.jooq.DDLQuery> ddlFunction, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler) Execute DDL statementdefault io.vertx.core.Future<Integer>ddl(@NotNull org.jooq.DDLQuery statement) Likeddl(DDLQuery, Handler)but returns aFutureof the asynchronous resultdefault voidddl(@NotNull org.jooq.DDLQuery statement, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler) Execute DDL statementMethods inherited from interface io.github.zero88.jooqx.HasExecutor
executorMethods 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 statementhandler- 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) Likeddl(Function, Handler)but returns aFutureof the asynchronous result- Parameters:
ddlFunction- DDL function produces DDL statement- Returns:
- a
Futureof 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 statementhandler- async result handler- Since:
- 2.0.0
-
ddl
Likeddl(DDLQuery, Handler)but returns aFutureof the asynchronous result- Parameters:
statement- DDL statement- Returns:
- a
Futureof the asynchronous result - Since:
- 2.0.0
-