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
Mapper
map
in class Mapper<Object,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
IOException
InterruptedException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.