Package org.apache.flink.runtime.util
Interface ResettableMutableObjectIterator<E>
-
- All Superinterfaces:
MutableObjectIterator<E>
- All Known Implementing Classes:
BlockResettableMutableObjectIterator
,SpillingResettableMutableObjectIterator
public interface ResettableMutableObjectIterator<E> extends MutableObjectIterator<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 org.apache.flink.util.MutableObjectIterator
next, next
-
-
-
-
Method Detail
-
reset
void reset() throws IOException
Resets the iterator.- Throws:
IOException
- May be thrown when the serialization into buffers or the spilling to secondary storage fails.
-
-