public static class TeraGen.SortGenMapper extends Mapper<LongWritable,NullWritable,Text,Text>
Mapper.Context| Constructor and Description |
|---|
TeraGen.SortGenMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(Mapper.Context context)
Called once at the end of the task.
|
void |
map(LongWritable row,
NullWritable ignored,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
public void map(LongWritable row, NullWritable ignored, Mapper.Context context) throws IOException, InterruptedException
Mappermap in class Mapper<LongWritable,NullWritable,Text,Text>IOExceptionInterruptedExceptionpublic void cleanup(Mapper.Context context)
Mappercleanup in class Mapper<LongWritable,NullWritable,Text,Text>Copyright © 2013 Apache Software Foundation. All rights reserved.