Class WebGraph.OutlinkDb.OutlinkDbReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<Text,NutchWritable,Text,LinkDatum>
-
- org.apache.nutch.scoring.webgraph.WebGraph.OutlinkDb.OutlinkDbReducer
-
- Enclosing class:
- WebGraph.OutlinkDb
public static class WebGraph.OutlinkDb.OutlinkDbReducer extends Reducer<Text,NutchWritable,Text,LinkDatum>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
Reducer.Context
-
-
Constructor Summary
Constructors Constructor Description OutlinkDbReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reduce(Text key, Iterable<NutchWritable> values, Reducer.Context context)
void
setup(Reducer.Context context)
Configures the OutlinkDb job reducer.
-
-
-
Method Detail
-
setup
public void setup(Reducer.Context context)
Configures the OutlinkDb job reducer. Sets up internal links and link limiting.
-
reduce
public void reduce(Text key, Iterable<NutchWritable> values, Reducer.Context context) throws IOException, InterruptedException
- Overrides:
reduce
in classReducer<Text,NutchWritable,Text,LinkDatum>
- Throws:
IOException
InterruptedException
-
-