public static final class HadoopMapredCompatWordCount.Counter extends Object implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>
| Constructor and Description |
|---|
HadoopMapredCompatWordCount.Counter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
void |
reduce(org.apache.hadoop.io.Text k,
Iterator<org.apache.hadoop.io.LongWritable> vs,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable> out,
org.apache.hadoop.mapred.Reporter rep) |
public void reduce(org.apache.hadoop.io.Text k,
Iterator<org.apache.hadoop.io.LongWritable> vs,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable> out,
org.apache.hadoop.mapred.Reporter rep)
throws IOException
reduce in interface org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>IOExceptionpublic void configure(org.apache.hadoop.mapred.JobConf arg0)
configure in interface org.apache.hadoop.mapred.JobConfigurablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.