org.apache.hadoop.mapred
Interface MapRunnable
- All Superinterfaces:
- JobConfigurable
- All Known Implementing Classes:
- MapRunner, MultithreadedMapRunner
public interface MapRunnable
- extends JobConfigurable
Expert: Permits greater control of map processing. For example,
implementations might perform multi-threaded, asynchronous mappings.
run
void run(RecordReader input,
OutputCollector output,
Reporter reporter)
throws IOException
- Called to execute mapping. Mapping is complete when this returns.
- Parameters:
input
- the RecordReader
with input key/value pairs.output
- the OutputCollector
for mapped key/value pairs.
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation