Class SelectJsonArray

java.lang.Object
io.github.zero88.jooqx.adapter.SelectJsonArray
All Implemented Interfaces:
SQLResultAdapter<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonArray>

public final class SelectJsonArray extends Object
  • Constructor Details

    • SelectJsonArray

      public SelectJsonArray(@NotNull @NotNull RecordFactory<? extends org.jooq.Record,io.vertx.core.json.JsonObject> recordFactory)
  • Method Details

    • strategy

      @NotNull public @NotNull SelectStrategy strategy()
    • collect

      public io.vertx.core.json.JsonArray collect(@NotNull @NotNull List<io.vertx.core.json.JsonObject> jsonObjects)
      Description copied from interface: SQLResultAdapter
      Collect list of row to an expectation result
      Parameters:
      jsonObjects - row list
      Returns:
      an expectation result
    • recordFactory

      public RecordFactory<? extends org.jooq.Record,io.vertx.core.json.JsonObject> recordFactory()
      Specified by:
      recordFactory in interface SQLResultAdapter<ROW,RESULT>
      Returns:
      record factory
      See Also: