Package io.github.zero88.jooqx
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>
Represents for a
DDL executor
that executes batch SQL command- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.vertx.core.Future<Integer>
Likesql(String, Handler)
but returns aFuture
of the asynchronous resultdefault 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>
Likesql(Function, Handler)
but returns aFuture
of the asynchronous resultdefault 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) LikesqlQuery(String, SQLResultAdapter, Handler)
but returns aFuture
of the asynchronous resultdefault <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) LikesqlQuery(Function, SQLResultAdapter, Handler)
but returns aFuture
of the asynchronous resultdefault <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 resulthandler
- async result handler
-
sql
default io.vertx.core.Future<Integer> sql(@NotNull @NotNull Function<org.jooq.DSLContext, String> sqlFunction) Likesql(Function, Handler)
but returns aFuture
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 resulthandler
- async result handler
-
sql
Likesql(String, Handler)
but returns aFuture
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 resultsadapter
- the result adapterhandler
- 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) LikesqlQuery(Function, SQLResultAdapter, Handler)
but returns aFuture
of the asynchronous result- Parameters:
sqlFunction
- the plain SQL function products a plain SQL statement with resultsadapter
- 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 resultsadapter
- the result adapterhandler
- async result handler
-
sqlQuery
default <T,R> io.vertx.core.Future<R> sqlQuery(@NotNull @NotNull String statement, @NotNull @NotNull SQLResultAdapter<T, R> adapter) LikesqlQuery(String, SQLResultAdapter, Handler)
but returns aFuture
of the asynchronous result- Parameters:
statement
- the plain SQL statement with results- Returns:
- a
Future
of the asynchronous result
-