public static class DistributedPentomino.PentMap extends MapReduceBase implements Mapper<WritableComparable,Text,Text,Text>
Constructor and Description |
---|
PentMap() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf conf)
Default implementation that does nothing.
|
void |
map(WritableComparable key,
Text value,
OutputCollector<Text,Text> output,
Reporter reporter)
Break the prefix string into moves (a sequence of integer row ids that
will be selected for each column in order).
|
close
public void map(WritableComparable key, Text value, OutputCollector<Text,Text> output, Reporter reporter) throws IOException
map
in interface Mapper<WritableComparable,Text,Text,Text>
key
- the input key.value
- the input value.output
- collects mapped keys and values.reporter
- facility to report progress.IOException
public void configure(JobConf conf)
MapReduceBase
configure
in interface JobConfigurable
configure
in class MapReduceBase
conf
- the configurationCopyright © 2010 The Apache Software Foundation