@InterfaceAudience.Public @InterfaceStability.Stable public class TokenCounterMapper extends Mapper<Object,Text,Text,IntWritable>
| Constructor and Description |
|---|
TokenCounterMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Object key,
Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Called once for each key/value pair in the input split.
|
public void map(Object key, Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
Mappermap in class Mapper<Object,Text,Text,IntWritable>IOExceptionInterruptedExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.