@InterfaceAudience.Public @InterfaceStability.Stable public class ValueAggregatorCombiner<K1 extends WritableComparable<?>,V1 extends Writable> extends Reducer<Text,Text,Text,Text>
Constructor and Description |
---|
ValueAggregatorCombiner() |
public ValueAggregatorCombiner()
public void reduce(Text key, Iterable<Text> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class Reducer<Text,Text,Text,Text>
key
- the key is expected to be a Text object, whose prefix indicates
the type of aggregation to aggregate the values.values
- the values to combinecontext
- to collect combined valuesIOException
InterruptedException
Copyright © 2015 Apache Software Foundation. All rights reserved.