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