adams.data.reduce
Class MaxTemperatureReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
adams.data.reduce.MaxTemperatureReducer
- All Implemented Interfaces:
- Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
public class MaxTemperatureReducer
- extends org.apache.hadoop.mapred.MapReduceBase
- implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
|
Method Summary |
void |
reduce(org.apache.hadoop.io.Text key,
Iterator<org.apache.hadoop.io.IntWritable> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
|
| Methods inherited from class org.apache.hadoop.mapred.MapReduceBase |
close, configure |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable |
configure |
MaxTemperatureReducer
public MaxTemperatureReducer()
reduce
public void reduce(org.apache.hadoop.io.Text key,
Iterator<org.apache.hadoop.io.IntWritable> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Specified by:
reduce in interface org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
- Throws:
IOException
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.