Package org.jdbi.v3.core.result
Interface BatchResultIterable<T>
- Type Parameters:
T
-
- All Superinterfaces:
Iterable<T>
,ResultIterable<T>
Extend the
ResultIterable
for batch operations.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.result.ResultIterable
ResultIterable.ResultIteratorDelegate<T,
R> -
Method Summary
Modifier and TypeMethodDescriptionSplit the results into per-batch sub-lists.static <U> BatchResultIterable<U>
of
(ResultIterable<U> delegate, Supplier<int[]> modifiedRowCountsSupplier) Methods inherited from interface java.lang.Iterable
spliterator
-
Method Details
-
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. -
of
static <U> BatchResultIterable<U> of(ResultIterable<U> delegate, Supplier<int[]> modifiedRowCountsSupplier)
-