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
Mapper
map
in class Mapper<LongWritable,NullWritable,Text,Text>
IOException
InterruptedException
public void cleanup(Mapper.Context context)
Mapper
cleanup
in class Mapper<LongWritable,NullWritable,Text,Text>
Copyright © 2013 Apache Software Foundation. All rights reserved.