限定符和类型 | 方法和说明 |
---|---|
void |
SecondarySort.MapClass.map(LongWritable inKey,
Text inValue,
Mapper.Context context) |
void |
WordCount.TokenizerMapper.map(Object key,
Text value,
Mapper.Context context) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
FieldSelectionMapper.map(K key,
V val,
Mapper.Context context)
The identify function.
|
void |
FieldSelectionMapper.setup(Mapper.Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
DelegatingMapper.run(Mapper.Context context) |
protected void |
DelegatingMapper.setup(Mapper.Context context) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CopyMapper.map(Text relPath,
FileStatus sourceFileStatus,
Mapper.Context context)
Implementation of the Mapper<>::map().
|
void |
CopyMapper.setup(Mapper.Context context)
Implementation of the Mapper::setup() method.
|
Copyright © 2009 The Apache Software Foundation