Constructor and Description |
---|
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 © 2019 Apache Software Foundation. All rights reserved.