| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapRunnable<K1,V1,K2,V2>
Expert: Generic interface for Mappers.
 
 
Custom implementations of MapRunnable can exert greater 
 control on map processing e.g. multi-threaded, asynchronous mappers etc.
Mapper| Method Summary | |
|---|---|
 void | 
run(RecordReader<K1,V1> input,
    OutputCollector<K2,V2> output,
    Reporter reporter)
Start mapping input <key, value> pairs.  | 
| Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable | 
|---|
configure | 
| Method Detail | 
|---|
void run(RecordReader<K1,V1> input,
         OutputCollector<K2,V2> output,
         Reporter reporter)
         throws IOException
Mapping of input records to output records is complete when this method returns.
input - the RecordReader to read the input records.output - the OutputCollector to collect the outputrecords.reporter - Reporter to report progress, status-updates etc.
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||