public class ReduceValuesByWord extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
Constructor and Description |
---|
ReduceValuesByWord()
construct the reduce instance, do nothing
|
Modifier and Type | Method and Description |
---|---|
void |
reduce(org.apache.hadoop.io.NullWritable timeslot,
Iterable<org.apache.hadoop.io.Text> manylines,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public ReduceValuesByWord()
public void reduce(org.apache.hadoop.io.NullWritable timeslot, Iterable<org.apache.hadoop.io.Text> manylines, org.apache.hadoop.mapreduce.Reducer.Context context)
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>