public class DbUpdateReducer extends org.apache.gora.mapreduce.GoraReducer<UrlWithScore,NutchWritable,String,WebPage>
Modifier and Type | Field and Description |
---|---|
static String |
CRAWLDB_ADDITIONS_ALLOWED |
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DbUpdateReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(UrlWithScore key,
Iterable<NutchWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
public static final String CRAWLDB_ADDITIONS_ALLOWED
public static final org.slf4j.Logger LOG
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Reducer<UrlWithScore,NutchWritable,String,WebPage>
IOException
InterruptedException
protected void reduce(UrlWithScore key, Iterable<NutchWritable> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<UrlWithScore,NutchWritable,String,WebPage>
IOException
InterruptedException
Copyright © 2015 The Apache Software Foundation