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 aFuture
of the asynchronous resultdefault void
ddl
(@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 aFuture
of the asynchronous resultdefault void
ddl
(@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
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 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 aFuture
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 statementhandler
- async result handler- Since:
- 2.0.0
-
ddl
Likeddl(DDLQuery, Handler)
but returns aFuture
of the asynchronous result- Parameters:
statement
- DDL statement- Returns:
- a
Future
of the asynchronous result - Since:
- 2.0.0
-