public class GeneratorReducer extends org.apache.gora.mapreduce.GoraReducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
FetcherJob.FetcherMapper
.Reducer.Context
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,
Reducer.Context context) |
protected void |
setup(Reducer.Context context) |
protected void reduce(GeneratorJob.SelectorEntry key, Iterable<WebPage> values, Reducer.Context context) throws IOException, InterruptedException
reduce
in class Reducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
IOException
InterruptedException
protected void setup(Reducer.Context context) throws IOException, InterruptedException
setup
in class Reducer<GeneratorJob.SelectorEntry,WebPage,String,WebPage>
IOException
InterruptedException
Copyright © 2015 The Apache Software Foundation