Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.map |
Modifier and Type | Method and Description |
---|---|
void |
SecondarySort.MapClass.map(LongWritable inKey,
Text inValue,
Mapper.Context context) |
void |
WordCount.TokenizerMapper.map(Object key,
Text value,
Mapper.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
Mapper.cleanup(Mapper.Context context)
Called once at the end of the task.
|
protected void |
Mapper.map(KEYIN key,
VALUEIN value,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
void |
Mapper.run(Mapper.Context context)
Expert users can override this method for more complete control over the
execution of the Mapper.
|
protected void |
Mapper.setup(Mapper.Context context)
Called once at the beginning of the task.
|
Modifier and Type | Method and Description |
---|---|
void |
InverseMapper.map(K key,
V value,
Mapper.Context context)
The inverse function.
|
void |
TokenCounterMapper.map(Object key,
Text value,
Mapper.Context context) |
void |
MultithreadedMapper.run(Mapper.Context context)
Run the application's maps using a thread pool.
|
Copyright © 2010 The Apache Software Foundation