public static class DistributedPentomino.PentMap extends MapReduceBase implements Mapper<WritableComparable,Text,Text,Text>
构造器和说明 |
---|
DistributedPentomino.PentMap() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 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
在接口中 JobConfigurable
configure
在类中 MapReduceBase
conf
- the configurationCopyright © 2009 The Apache Software Foundation