Package io.github.zero88.jooqx
Interface SQLStatementExecutor
- All Superinterfaces:
JooqDSLProvider
- All Known Subinterfaces:
Jooqx,JooqxBase<S>,JooqxConn,JooqxSession,JooqxTx,LegacyInternal<S>,LegacyJooqx,LegacyJooqxSession,LegacyJooqxTx,SQLExecutor<S,B, PQ, RC>
Represents for an
executor that executes SQL statement- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T,R> io.vertx.core.Future<R> execute(@NotNull Function<org.jooq.DSLContext, org.jooq.Query> queryFunction, @NotNull SQLResultAdapter<T, R> resultAdapter) Likeexecute(Function, SQLResultAdapter, Handler)but returns aFutureof the asynchronous resultdefault <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) ExecutejOOQ querythen return async resultdefault io.vertx.core.Future<Integer>Likeexecute(Function, Handler)but returns aFutureof the asynchronous resultdefault voidexecute(@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) Likeexecute(Query, SQLResultAdapter, Handler)but returns aFutureof the asynchronous resultdefault <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) ExecutejOOQ querythen return async resultio.vertx.core.Future<Integer>execute(@NotNull org.jooq.RowCountQuery statement) Likeexecute(RowCountQuery, Handler)but returns aFutureof the asynchronous resultdefault voidexecute(@NotNull org.jooq.RowCountQuery statement, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<Integer>> handler) Execute row count query statementMethods 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) ExecutejOOQ querythen return async result- Parameters:
queryFunction- the jOOQ query functionresultAdapter- the result adapterhandler- the async result handler- Since:
- 2.0.0
- See Also:
-
QueryTableLikeSQLResultAdapter
-
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) Likeexecute(Function, SQLResultAdapter, Handler)but returns aFutureof the asynchronous result- Parameters:
queryFunction- the jOOQ query functionresultAdapter- the result adapter- Returns:
- a
Futureof 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) ExecutejOOQ querythen return async result- Parameters:
query- the jOOQ queryresultAdapter- the result adapterhandler- the async result handler- See Also:
-
QueryTableLikeSQLResultAdapter
-
execute
<T,R> io.vertx.core.Future<R> execute(@NotNull @NotNull org.jooq.Query query, @NotNull @NotNull SQLResultAdapter<T, R> resultAdapter) Likeexecute(Query, SQLResultAdapter, Handler)but returns aFutureof the asynchronous result- Parameters:
query- the jOOQ queryresultAdapter- the result adapter- Returns:
- a
Futureof 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 statementhandler- 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) Likeexecute(Function, Handler)but returns aFutureof the asynchronous result- Parameters:
rowCountQueryFn- A function produces row count query statement- Returns:
- a
Futureof 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 statementhandler- async result handler- Since:
- 2.0.0
-
execute
Likeexecute(RowCountQuery, Handler)but returns aFutureof the asynchronous result- Parameters:
statement- a row count query statement- Returns:
- a
Futureof the asynchronous result - Since:
- 2.0.0
-