org.apache.hadoop.examples
Class MultiFileWordCount.MapClass

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<MultiFileWordCount.WordOffset,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
      extended by org.apache.hadoop.examples.MultiFileWordCount.MapClass
Enclosing class:
MultiFileWordCount

public static class MultiFileWordCount.MapClass
extends org.apache.hadoop.mapreduce.Mapper<MultiFileWordCount.WordOffset,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>

This Mapper is similar to the one in MultiFileWordCount.MapClass.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
MultiFileWordCount.MapClass()
           
 
Method Summary
 void map(MultiFileWordCount.WordOffset 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
 

Constructor Detail

MultiFileWordCount.MapClass

public MultiFileWordCount.MapClass()
Method Detail

map

public void map(MultiFileWordCount.WordOffset 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<MultiFileWordCount.WordOffset,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
Throws:
IOException
InterruptedException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.