Class LinkDumper.Inverter.InvertReducer
- java.lang.Object
-
- org.apache.hadoop.mapreduce.Reducer<Text,ObjectWritable,Text,LinkDumper.LinkNode>
-
- org.apache.nutch.scoring.webgraph.LinkDumper.Inverter.InvertReducer
-
- Enclosing class:
- LinkDumper.Inverter
public static class LinkDumper.Inverter.InvertReducer extends Reducer<Text,ObjectWritable,Text,LinkDumper.LinkNode>
Inverts outlinks to inlinks while attaching node information to the outlink.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
Reducer.Context
-
-
Constructor Summary
Constructors Constructor Description InvertReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reduce(Text key, Iterable<ObjectWritable> values, Reducer.Context context)
void
setup(Reducer.Context context)
-
-
-
Method Detail
-
setup
public void setup(Reducer.Context context)
- Overrides:
setup
in classReducer<Text,ObjectWritable,Text,LinkDumper.LinkNode>
-
reduce
public void reduce(Text key, Iterable<ObjectWritable> values, Reducer.Context context) throws IOException, InterruptedException
- Overrides:
reduce
in classReducer<Text,ObjectWritable,Text,LinkDumper.LinkNode>
- Throws:
IOException
InterruptedException
-
-