@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 TokenCounterMapper()
public void map(Object key, Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
Mapper
map
in class Mapper<Object,Text,Text,IntWritable>
IOException
InterruptedException
Copyright © 2018 Apache Software Foundation. All rights reserved.