public class DbUpdateReducer extends org.apache.gora.mapreduce.GoraReducer<UrlWithScore,NutchWritable,java.lang.String,WebPage>
Reducer.Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CRAWLDB_ADDITIONS_ALLOWED |
org.apache.gora.store.DataStore<java.lang.String,WebPage> |
datastore |
Constructor and Description |
---|
DbUpdateReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Reducer.Context context) |
protected void |
reduce(UrlWithScore key,
java.lang.Iterable<NutchWritable> values,
Reducer.Context context) |
protected void |
setup(Reducer.Context context) |
public static final java.lang.String CRAWLDB_ADDITIONS_ALLOWED
public org.apache.gora.store.DataStore<java.lang.String,WebPage> datastore
protected void setup(Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
setup
in class Reducer<UrlWithScore,NutchWritable,java.lang.String,WebPage>
java.io.IOException
java.lang.InterruptedException
protected void cleanup(Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
cleanup
in class Reducer<UrlWithScore,NutchWritable,java.lang.String,WebPage>
java.io.IOException
java.lang.InterruptedException
protected void reduce(UrlWithScore key, java.lang.Iterable<NutchWritable> values, Reducer.Context context) throws java.io.IOException, java.lang.InterruptedException
reduce
in class Reducer<UrlWithScore,NutchWritable,java.lang.String,WebPage>
java.io.IOException
java.lang.InterruptedException
Copyright © 2019 The Apache Software Foundation