Interface SQLSessionExecutor<S,B,P extends SQLPreparedQuery<B>,C extends SQLResultCollector,E extends SQLExecutor<S,B,P,C>>

Type Parameters:
S - Type of Vertx SQL client
B - Type of Vertx query param holder
P - Type of SQL prepare query
C - Type of SQL result collector
E - Type of jOOQ.x executor
All Known Subinterfaces:
JooqxSession, LegacyJooqxSession

public interface SQLSessionExecutor<S,B,P extends SQLPreparedQuery<B>,C extends SQLResultCollector,E extends SQLExecutor<S,B,P,C>>
Represents for SQL session executor
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <X> io.vertx.core.Future<X>
    perform(@NotNull Function<E,io.vertx.core.Future<X>> sessionFn)
    Like perform(Function, Handler) but returns a Future of the asynchronous result
    <X> void
    perform(@NotNull Function<E,io.vertx.core.Future<X>> sessionFn, @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler)
    Perform the session code
  • Method Details

    • perform

      <X> void perform(@NotNull @NotNull Function<E,io.vertx.core.Future<X>> sessionFn, @NotNull @NotNull io.vertx.core.Handler<io.vertx.core.AsyncResult<X>> handler)
      Perform the session code
      Type Parameters:
      X - Type of result
      Parameters:
      sessionFn - session function
      handler - handler
    • perform

      <X> io.vertx.core.Future<X> perform(@NotNull @NotNull Function<E,io.vertx.core.Future<X>> sessionFn)
      Like perform(Function, Handler) but returns a Future of the asynchronous result
      Type Parameters:
      X - Type of result
      Parameters:
      sessionFn - session function
      Returns:
      a Future of the asynchronous result