Interface JooqxResultCollector

All Superinterfaces:
SQLResultCollector

public interface JooqxResultCollector extends SQLResultCollector
Represents for a collector that collects then transform Vert.x SQL result to an expectation output
Since:
2.0.0
  • Method Details

    • create

      static JooqxResultCollector create()
    • collector

      @NotNull <ROW, RESULT> @NotNull Collector<io.vertx.sqlclient.Row,List<ROW>,RESULT> collector(@NotNull @NotNull SQLResultAdapter<ROW,RESULT> adapter, @NotNull @NotNull org.jooq.DSLContext dslContext, @NotNull @NotNull DataTypeMapperRegistry registry)
      Create collector that helps transform result set to an expectation result that defines in SQL result adapter
      Type Parameters:
      ROW - Type of intermediate row, might be jOOQ record or custom type
      RESULT - Type of expectation result
      Parameters:
      adapter - SQL result adapter
      dslContext - dsl context
      registry - data type mapper registry
      Returns:
      the collector
    • batchCollector

      default <R> JooqxBatchCollector<R> batchCollector()
    • blockCollector

      default JooqxBlockCollector blockCollector()