org.apache.hadoop.contrib.utils.join
Interface ResetableIterator
- All Superinterfaces:
- Iterator
- All Known Implementing Classes:
- ArrayListBackedIterator
public interface ResetableIterator
- extends Iterator
This interface defines an iterator interface that will help the reducer class
for re-grouping the values in the values iterator of the reduce method
according the their source tags. Once the value re-grouped, the reducer can
perform the cross product over the values in different groups.
reset
void reset()
add
void add(Object item)
close
void close()
throws IOException
- Throws:
IOException
Copyright © 2008 The Apache Software Foundation