public static class SecondarySort.MapClass extends Mapper<LongWritable,Text,SecondarySort.IntPair,IntWritable>
Mapper.Context| 构造器和说明 |
|---|
SecondarySort.MapClass() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
map(LongWritable inKey,
Text inValue,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
public void map(LongWritable inKey, Text inValue, Mapper.Context context) throws IOException, InterruptedException
MapperCopyright © 2009 The Apache Software Foundation