public static class CountTweetsInTimeperiod.InMemoryCombiningReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
Constructor and Description |
---|
InMemoryCombiningReducer()
default construct does nothing
|
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(org.apache.hadoop.io.LongWritable key,
Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public InMemoryCombiningReducer()
protected void reduce(org.apache.hadoop.io.LongWritable key, Iterable<org.apache.hadoop.io.BytesWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException