Interface ResetableIterator<T extends Writable>

All Superinterfaces:
ResetableIterator<T>
All Known Implementing Classes:
ArrayListBackedIterator, StreamBackedIterator

@Public @Stable public interface ResetableIterator<T extends Writable> extends ResetableIterator<T>
This defines an interface to a stateful Iterator that can replay elements added to it directly. Note that this does not extend Iterator.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    org.apache.hadoop.mapred.join.ResetableIterator.EMPTY<U extends Writable>
     
  • Method Summary

    Methods inherited from interface org.apache.hadoop.mapreduce.lib.join.ResetableIterator

    add, clear, close, hasNext, next, replay, reset