edu.umd.cloud9.webgraph
Class CollectHostnames.Reduce
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.umd.cloud9.webgraph.CollectHostnames.Reduce
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<PairOfIntString,IntWritable,IntWritable,ArrayListWritable<AnchorText>>
- Enclosing class:
- CollectHostnames
public static class CollectHostnames.Reduce
- extends MapReduceBase
- implements Reducer<PairOfIntString,IntWritable,IntWritable,ArrayListWritable<AnchorText>>
CollectHostnames.Reduce
public CollectHostnames.Reduce()
reduce
public void reduce(PairOfIntString key,
Iterator<IntWritable> values,
OutputCollector<IntWritable,ArrayListWritable<AnchorText>> output,
Reporter reporter)
throws IOException
- Specified by:
reduce in interface Reducer<PairOfIntString,IntWritable,IntWritable,ArrayListWritable<AnchorText>>
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class MapReduceBase
- Throws:
IOException