public static class WordCount.IntSumReducer extends Reducer<Text,IntWritable,Text,IntWritable>
Reducer.Context
构造器和说明 |
---|
WordCount.IntSumReducer() |
限定符和类型 | 方法和说明 |
---|---|
void |
reduce(Text key,
Iterable<IntWritable> values,
Reducer.Context context)
This method is called once for each key.
|
public void reduce(Text key, Iterable<IntWritable> values, Reducer.Context context) throws IOException, InterruptedException
Reducer
reduce
在类中 Reducer<Text,IntWritable,Text,IntWritable>
IOException
InterruptedException
Copyright © 2009 The Apache Software Foundation