Package org.apache.flink.runtime.util
Interface ResettableIterator<E>
-
- All Superinterfaces:
Iterator<E>
- All Known Implementing Classes:
NonReusingBlockResettableIterator
,ReusingBlockResettableIterator
,SpillingResettableIterator
public interface ResettableIterator<E> extends Iterator<E>
The resettable iterator is a specialization of the iterator, allowing to reset the iterator and re-retrieve elements. Whether the iterator is completely reset or only partially depends on the actual implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reset()
Resets the iterator.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
reset
void reset() throws IOException
Resets the iterator.- Throws:
IOException
-
-