Package org.jdbi.v3.core.result
Interface IteratorCallback<T,R,X extends java.lang.Exception>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IteratorCallback<T,R,X extends java.lang.Exception>Callback for use withResultIterable.withIterator(IteratorCallback)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RwithIterator(ResultIterator<T> iterator)Will be invoked with a Iterator<T>.
-
-
-
Method Detail
-
withIterator
R withIterator(ResultIterator<T> iterator) throws X extends java.lang.Exception
Will be invoked with a Iterator<T>. The iterator will be closed when this callback returns.
-
-