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