|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Mapper.Context in org.apache.hadoop.mapreduce |
---|
Methods in org.apache.hadoop.mapreduce that return Mapper.Context | ||
---|---|---|
static
|
ContextFactory.cloneMapContext(MapContext<K1,V1,K2,V2> context,
org.apache.hadoop.conf.Configuration conf,
RecordReader<K1,V1> reader,
RecordWriter<K2,V2> writer)
Copy a custom WrappedMapper.Context, optionally replacing the input and output. |
Methods in org.apache.hadoop.mapreduce with parameters of type Mapper.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. |
Uses of Mapper.Context in org.apache.hadoop.mapreduce.lib.aggregate |
---|
Methods in org.apache.hadoop.mapreduce.lib.aggregate with parameters of type Mapper.Context | |
---|---|
void |
ValueAggregatorMapper.map(K1 key,
V1 value,
Mapper.Context context)
the map function. |
void |
ValueAggregatorMapper.setup(Mapper.Context context)
|
Uses of Mapper.Context in org.apache.hadoop.mapreduce.lib.chain |
---|
Methods in org.apache.hadoop.mapreduce.lib.chain with parameters of type Mapper.Context | |
---|---|
void |
ChainMapper.run(Mapper.Context context)
|
protected void |
ChainMapper.setup(Mapper.Context context)
|
Uses of Mapper.Context in org.apache.hadoop.mapreduce.lib.fieldsel |
---|
Methods in org.apache.hadoop.mapreduce.lib.fieldsel with parameters of type Mapper.Context | |
---|---|
void |
FieldSelectionMapper.map(K key,
V val,
Mapper.Context context)
The identify function. |
void |
FieldSelectionMapper.setup(Mapper.Context context)
|
Uses of Mapper.Context in org.apache.hadoop.mapreduce.lib.input |
---|
Methods in org.apache.hadoop.mapreduce.lib.input with parameters of type Mapper.Context | |
---|---|
void |
DelegatingMapper.run(Mapper.Context context)
|
protected void |
DelegatingMapper.setup(Mapper.Context context)
|
Uses of Mapper.Context in org.apache.hadoop.mapreduce.lib.map |
---|
Subclasses of Mapper.Context in org.apache.hadoop.mapreduce.lib.map | |
---|---|
class |
WrappedMapper.Context
|
Methods in org.apache.hadoop.mapreduce.lib.map that return Mapper.Context | |
---|---|
Mapper.Context |
WrappedMapper.getMapContext(MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> mapContext)
Get a wrapped WrappedMapper.Context for custom implementations. |
Methods in org.apache.hadoop.mapreduce.lib.map with parameters of type Mapper.Context | |
---|---|
void |
RegexMapper.map(K key,
org.apache.hadoop.io.Text value,
Mapper.Context context)
|
void |
InverseMapper.map(K key,
V value,
Mapper.Context context)
The inverse function. |
void |
TokenCounterMapper.map(Object key,
org.apache.hadoop.io.Text value,
Mapper.Context context)
|
void |
MultithreadedMapper.run(Mapper.Context context)
Run the application's maps using a thread pool. |
void |
RegexMapper.setup(Mapper.Context context)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |