public static class LinkDumper.Merger extends Object implements Reducer<Text,LinkDumper.LinkNode,Text,LinkDumper.LinkNodes>
Constructor and Description |
---|
LinkDumper.Merger() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(JobConf conf) |
void |
reduce(Text key,
Iterator<LinkDumper.LinkNode> values,
OutputCollector<Text,LinkDumper.LinkNodes> output,
Reporter reporter)
Aggregate all LinkNode objects for a given url.
|
public void configure(JobConf conf)
configure
in interface JobConfigurable
public void reduce(Text key, Iterator<LinkDumper.LinkNode> values, OutputCollector<Text,LinkDumper.LinkNodes> output, Reporter reporter) throws IOException
reduce
in interface Reducer<Text,LinkDumper.LinkNode,Text,LinkDumper.LinkNodes>
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2015 The Apache Software Foundation