org.apache.nutch.crawl
Class DbUpdateReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<K1,V1,K2,V2>
org.apache.gora.mapreduce.GoraReducer<UrlWithScore,NutchWritable,String,WebPage>
org.apache.nutch.crawl.DbUpdateReducer
public class DbUpdateReducer
- extends org.apache.gora.mapreduce.GoraReducer<UrlWithScore,NutchWritable,String,WebPage>
Methods inherited from class org.apache.gora.mapreduce.GoraReducer |
initReducerJob, initReducerJob, initReducerJob |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRAWLDB_ADDITIONS_ALLOWED
public static final String CRAWLDB_ADDITIONS_ALLOWED
- See Also:
- Constant Field Values
LOG
public static final org.slf4j.Logger LOG
DbUpdateReducer
public DbUpdateReducer()
setup
protected void setup(Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
setup
in class Reducer<UrlWithScore,NutchWritable,String,WebPage>
- Throws:
IOException
InterruptedException
reduce
protected void reduce(UrlWithScore key,
Iterable<NutchWritable> values,
Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
reduce
in class Reducer<UrlWithScore,NutchWritable,String,WebPage>
- Throws:
IOException
InterruptedException
Copyright © 2012 The Apache Software Foundation