Stateful Iterators Java
- by Gitmo
What is a Stateful Iterator?
This question relates to an Iterator defined in Hadoop for performing Joins. As the reference documentation states:
This defines an interface to a stateful Iterator that can replay
elements added to it directly. Note that this does not extend
Iterator.
What does 'replay elements added to it directly' mean? How is this iterator different from a usual iterator?