static class CellCounter.LongSumReducer<Key> extends org.apache.hadoop.mapreduce.Reducer<Key,org.apache.hadoop.io.LongWritable,Key,org.apache.hadoop.io.LongWritable>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.io.LongWritable |
result |
Constructor and Description |
---|
LongSumReducer() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(Key key,
Iterable<org.apache.hadoop.io.LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
private org.apache.hadoop.io.LongWritable result
LongSumReducer()
public void reduce(Key key, Iterable<org.apache.hadoop.io.LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<Key,org.apache.hadoop.io.LongWritable,Key,org.apache.hadoop.io.LongWritable>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.