org.apache.hadoop.examples
Class WordCount.TokenizerMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
org.apache.hadoop.examples.WordCount.TokenizerMapper
- Enclosing class:
- WordCount
public static class WordCount.TokenizerMapper
- extends org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
| Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
|
Method Summary |
void |
map(Object key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
|
| Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run, setup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordCount.TokenizerMapper
public WordCount.TokenizerMapper()
map
public void map(Object key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<Object,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
- Throws:
IOException
InterruptedException
Copyright © 2012 Apache Software Foundation. All Rights Reserved.