Package org.apache.nutch.crawl
Class CrawlDbReader.CrawlDbTopNReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<FloatWritable,Text,FloatWritable,Text>
-
- org.apache.nutch.crawl.CrawlDbReader.CrawlDbTopNReducer
-
- Enclosing class:
- CrawlDbReader
public static class CrawlDbReader.CrawlDbTopNReducer extends Reducer<FloatWritable,Text,FloatWritable,Text>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
Reducer.Context
-
-
Constructor Summary
Constructors Constructor Description CrawlDbTopNReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reduce(FloatWritable key, Iterable<Text> values, Reducer.Context context)
void
setup(Reducer.Context context)
-
-
-
Method Detail
-
reduce
public void reduce(FloatWritable key, Iterable<Text> values, Reducer.Context context) throws IOException, InterruptedException
- Overrides:
reduce
in classReducer<FloatWritable,Text,FloatWritable,Text>
- Throws:
IOException
InterruptedException
-
setup
public void setup(Reducer.Context context)
- Overrides:
setup
in classReducer<FloatWritable,Text,FloatWritable,Text>
-
-