public static class FilterResults.MyMapperTopN extends MapReduceBase implements Mapper<PairOfInts,IntWritable,IntWritable,PairOfInts>
Constructor and Description |
---|
FilterResults.MyMapperTopN() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf job) |
void |
map(PairOfInts key,
IntWritable value,
OutputCollector<IntWritable,PairOfInts> output,
Reporter reporter) |
close
public void configure(JobConf job)
configure
in interface JobConfigurable
configure
in class MapReduceBase
public void map(PairOfInts key, IntWritable value, OutputCollector<IntWritable,PairOfInts> output, Reporter reporter) throws IOException
map
in interface Mapper<PairOfInts,IntWritable,IntWritable,PairOfInts>
IOException