org.apache.nutch.crawl
Class DbUpdateMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<K1,V1,K2,V2>
      extended by org.apache.gora.mapreduce.GoraMapper<String,WebPage,UrlWithScore,NutchWritable>
          extended by org.apache.nutch.crawl.DbUpdateMapper

public class DbUpdateMapper
extends org.apache.gora.mapreduce.GoraMapper<String,WebPage,UrlWithScore,NutchWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
Mapper.Context
 
Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
DbUpdateMapper()
           
 
Method Summary
 void map(String key, WebPage page, Mapper.Context context)
           
 void setup(Mapper.Context context)
           
 
Methods inherited from class org.apache.gora.mapreduce.GoraMapper
initMapperJob, initMapperJob, initMapperJob, initMapperJob, initMapperJob
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
Constructor Detail

DbUpdateMapper

public DbUpdateMapper()
Method Detail

map

public void map(String key,
                WebPage page,
                Mapper.Context context)
         throws IOException,
                InterruptedException
Overrides:
map in class Mapper<String,WebPage,UrlWithScore,NutchWritable>
Throws:
IOException
InterruptedException

setup

public void setup(Mapper.Context context)
Overrides:
setup in class Mapper<String,WebPage,UrlWithScore,NutchWritable>


Copyright © 2012 The Apache Software Foundation