public static class TestOrderedWordCount.TokenizerMapper extends org.apache.hadoop.mapreduce.Mapper<Object,Text,Text,IntWritable>
| Constructor and Description |
|---|
TokenizerMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Object key,
Text value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<Object,Text,Text,IntWritable>IOExceptionInterruptedExceptionpublic void map(Object key, Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<Object,Text,Text,IntWritable>IOExceptionInterruptedExceptionCopyright © 2021 Apache Software Foundation. All rights reserved.