public static class LinkDumper.Merger extends java.lang.Object implements Reducer<Text,LinkDumper.LinkNode,Text,LinkDumper.LinkNodes>
| Constructor and Description |
|---|
Merger() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(JobConf conf) |
void |
reduce(Text key,
java.util.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 JobConfigurablepublic void reduce(Text key, java.util.Iterator<LinkDumper.LinkNode> values, OutputCollector<Text,LinkDumper.LinkNodes> output, Reporter reporter) throws java.io.IOException
reduce in interface Reducer<Text,LinkDumper.LinkNode,Text,LinkDumper.LinkNodes>java.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2017 The Apache Software Foundation