public class GeneratorReducer extends org.apache.gora.mapreduce.GoraReducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
FetcherJob.FetcherMapper
.Modifier and Type | Field and Description |
---|---|
protected static long |
count |
Constructor and Description |
---|
GeneratorReducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
reduce(GeneratorJob.SelectorEntry key,
Iterable<WebPage> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void reduce(GeneratorJob.SelectorEntry key, Iterable<WebPage> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
IOException
InterruptedException
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Reducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
IOException
InterruptedException
Copyright © 2015 The Apache Software Foundation