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).
|
closepublic 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.IOExceptionpublic void configure(JobConf conf)
MapReduceBaseconfigure 在接口中 JobConfigurableconfigure 在类中 MapReduceBaseconf - the configurationCopyright © 2009 The Apache Software Foundation