@InterfaceAudience.Public @InterfaceStability.Stable public class LongSumReducer<KEY> extends Reducer<KEY,LongWritable,KEY,LongWritable>
| コンストラクタと説明 |
|---|
LongSumReducer() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
reduce(KEY key,
Iterable<LongWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
This method is called once for each key.
|
public LongSumReducer()
public void reduce(KEY key, Iterable<LongWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
Reducerreduce クラス内 Reducer<KEY,LongWritable,KEY,LongWritable>IOExceptionInterruptedExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.