Interface CloseableInputProvider<E>
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
PushSorter<E>,Sorter<E>
- All Known Implementing Classes:
ExternalSorter,SimpleCloseableInputProvider,TempBarrier
Utility interface for a provider of an input that can be closed.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.util.MutableObjectIterator<E>Gets the iterator over this input.
-
Method Details
-
getIterator
org.apache.flink.util.MutableObjectIterator<E> getIterator() throws InterruptedException, IOExceptionGets the iterator over this input.- Returns:
- The iterator provided by this iterator provider.
- Throws:
InterruptedExceptionIOException
-