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