Interface BatchResultIterable<T>

Type Parameters:
T -
All Superinterfaces:
Iterable<T>, ResultIterable<T>

public interface BatchResultIterable<T> extends ResultIterable<T>
Extend the ResultIterable for batch operations.
  • Method Details

    • listPerBatch

      List<List<T>> listPerBatch()
      Split the results into per-batch sub-lists. Note that this may not be correct if any of the executed batches returned an error code.
      results in a List of Lists.
    • of

      static <U> BatchResultIterable<U> of(ResultIterable<U> delegate, Supplier<int[]> modifiedRowCountsSupplier)