public class PipeMapRunner<K1,V1,K2,V2> extends MapRunner<K1,V1,K2,V2>
| 构造器和说明 |
|---|
PipeMapRunner() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
run(RecordReader<K1,V1> input,
OutputCollector<K2,V2> output,
Reporter reporter)
Start mapping input <key, value> pairs.
|
public void run(RecordReader<K1,V1> input, OutputCollector<K2,V2> output, Reporter reporter) throws IOException
MapRunnableMapping of input records to output records is complete when this method returns.
run 在接口中 MapRunnable<K1,V1,K2,V2>run 在类中 MapRunner<K1,V1,K2,V2>input - the RecordReader to read the input records.output - the OutputCollector to collect the outputrecords.reporter - Reporter to report progress, status-updates etc.IOExceptionCopyright © 2009 The Apache Software Foundation