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