|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
KEYIN
- the class of the input keysVALUEIN
- the class of the input valuesKEYOUT
- the class of the output keysVALUEOUT
- the class of the output valuespublic interface ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
The context passed to the Reducer
.
Nested Class Summary | |
---|---|
static interface |
ReduceContext.ValueIterator<VALUEIN>
Iterator to iterate over values for a given group of records. |
Field Summary |
---|
Method Summary | |
---|---|
java.lang.Iterable<VALUEIN> |
getValues()
Iterate through the values for the current key, reusing the same value object, which is stored in the context. |
boolean |
nextKey()
Start processing next unique key. |
Methods inherited from interface org.apache.hadoop.mapreduce.TaskInputOutputContext |
---|
getCurrentKey, getCurrentValue, getOutputCommitter, nextKeyValue, write |
Methods inherited from interface org.apache.hadoop.mapreduce.TaskAttemptContext |
---|
getCounter, getCounter, getStatus, getTaskAttemptID, setStatus |
Methods inherited from interface org.apache.hadoop.util.Progressable |
---|
progress |
Method Detail |
---|
boolean nextKey() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
java.lang.Iterable<VALUEIN> getValues() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |