@InterfaceAudience.Public @InterfaceStability.Stable public class ValueAggregatorMapper<K1 extends WritableComparable<?>,V1 extends Writable> extends Mapper<K1,V1,Text,Text>
| Constructor and Description |
|---|
ValueAggregatorMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(K1 key,
V1 value,
org.apache.hadoop.mapreduce.Mapper.Context context)
the map function.
|
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context)
Called once at the beginning of the task.
|
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
Mappersetup in class Mapper<K1 extends WritableComparable<?>,V1 extends Writable,Text,Text>IOExceptionInterruptedExceptionpublic void map(K1 key, V1 value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<K1 extends WritableComparable<?>,V1 extends Writable,Text,Text>IOExceptionInterruptedExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.