hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Nettem <deepaknet...@gmail.com>
Subject ResetableIterator for Joins
Date Sat, 31 Mar 2012 17:32:43 GMT
Hi,

I don't quite understand the purpose of the ResetableIterator. (
http://hadoop.apache.org/common/docs/r1.0.1/api/org/apache/hadoop/mapred/join/ResetableIterator.html
).

The description says - This defines an interface to a stateful Iterator
that can replay elements added to it directly. Note that this does not
extend Iterator<http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true>.


What's a stateful iterator and why do we need to replay elements added to
it? Why does it not extend Iterator? I would appreciate any insight!

-- 
Warm Regards,
Deepak Nettem

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message