p2pMapReduce.mapreduceModule
Interface ReduceContext.ValueIterator<VALUEIN>

All Known Implementing Classes:
ReduceContextImpl.ValueIterator
Enclosing interface:
ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

public static interface ReduceContext.ValueIterator<VALUEIN>

ReduceContext.ValueIterator to iterate over values for a given group of records.


Method Summary
 void clearMark()
          Clear any previously set mark
 void mark()
          Mark the current record.
 void reset()
          Reset the iterator to the last record before a call to the previous mark
 void resetBackupStore()
          This method is called when the reducer moves from one key to another.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

resetBackupStore

void resetBackupStore()
                      throws java.io.IOException
This method is called when the reducer moves from one key to another.

Throws:
java.io.IOException

mark

void mark()
          throws java.io.IOException
Mark the current record. A subsequent call to reset will rewind the iterator to this record.

Throws:
java.io.IOException

reset

void reset()
           throws java.io.IOException
Reset the iterator to the last record before a call to the previous mark

Throws:
java.io.IOException

clearMark

void clearMark()
               throws java.io.IOException
Clear any previously set mark

Throws:
java.io.IOException