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

    Modifier and Type
    Method
    Description
    void
    Resets the iterator.

    Methods inherited from interface org.apache.flink.util.MutableObjectIterator

    next, next
  • Method Details

    • 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.