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