public static class SecondarySort.MapClass extends Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,SecondarySort.IntPair,org.apache.hadoop.io.IntWritable>
Mapper.Context
Constructor and Description |
---|
SecondarySort.MapClass() |
Modifier and Type | Method and Description |
---|---|
void |
map(org.apache.hadoop.io.LongWritable inKey,
org.apache.hadoop.io.Text inValue,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
public void map(org.apache.hadoop.io.LongWritable inKey, org.apache.hadoop.io.Text inValue, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
Mapper
map
in class Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,SecondarySort.IntPair,org.apache.hadoop.io.IntWritable>
java.io.IOException
java.lang.InterruptedException
Copyright © 2009 The Apache Software Foundation