This project has retired. For details please refer to its
        
        Attic page .
      
WordCount.TokenizerMapper (Apache Gora 0.2.1 API)
 
 
org.apache.gora.examples.mapreduce 
 
java.lang.Object 
  org.apache.gora.mapreduce.GoraMapper <String ,WebPage ,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
          org.apache.gora.examples.mapreduce.WordCount.TokenizerMapper 
 
Enclosing class: WordCount  
public static class WordCount.TokenizerMapper  extends GoraMapper <String ,WebPage ,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>  
TokenizerMapper takes <String, WebPage> pairs as obtained 
 from the input DataStore, and tokenizes the content via 
 WebPage.getContent()
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper  
org.apache.hadoop.mapreduce.Mapper.Context 
 
Method Summary   
protected  void map String  key,
    WebPage  page,
    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 
protected void map (String  key,
                   WebPage  page,
                   org.apache.hadoop.mapreduce.Mapper.Context context)
            throws IOException ,
                   InterruptedException  
Overrides: map in class org.apache.hadoop.mapreduce.Mapper<String ,WebPage ,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable> 
Throws: 
IOException InterruptedException  
 
The Apache Software Foundation . All Rights Reserved.