Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.reduce |
Modifier and Type | Method and Description |
---|---|
void |
SecondarySort.Reduce.reduce(SecondarySort.IntPair key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
WordCount.IntSumReducer.reduce(Text key,
Iterable<IntWritable> values,
Reducer.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
Reducer.cleanup(Reducer.Context context)
Called once at the end of the task.
|
protected void |
Reducer.reduce(KEYIN key,
Iterable<VALUEIN> values,
Reducer.Context context)
This method is called once for each key.
|
void |
Reducer.run(Reducer.Context context)
Advanced application writers can use the
Reducer.run(org.apache.hadoop.mapreduce.Reducer.Context) method to
control how the reduce task works. |
protected void |
Reducer.setup(Reducer.Context context)
Called once at the start of the task.
|
Modifier and Type | Method and Description |
---|---|
void |
IntSumReducer.reduce(Key key,
Iterable<IntWritable> values,
Reducer.Context context) |
void |
LongSumReducer.reduce(KEY key,
Iterable<LongWritable> values,
Reducer.Context context) |
Copyright © 2010 The Apache Software Foundation