org.apache.hadoop.hbase.mapred
Class IdentityTableReduce
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TableReduce<Text,MapWritable>
org.apache.hadoop.hbase.mapred.IdentityTableReduce
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<Text,MapWritable,Text,MapWritable>
public class IdentityTableReduce
- extends TableReduce<Text,MapWritable>
Write to table each key, record pair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityTableReduce
public IdentityTableReduce()
reduce
public void reduce(Text key,
Iterator<MapWritable> values,
OutputCollector<Text,MapWritable> output,
Reporter reporter)
throws IOException
- No aggregation, output pairs of (key, record)
- Specified by:
reduce in interface Reducer<Text,MapWritable,Text,MapWritable>- Specified by:
reduce in class TableReduce<Text,MapWritable>
- Parameters:
key - the key.values - the list of values to reduce.output - to collect keys and combined values.reporter - facility to report progress.
- Throws:
IOException- See Also:
TableReduce.reduce(org.apache.hadoop.io.WritableComparable, java.util.Iterator, org.apache.hadoop.mapred.OutputCollector, org.apache.hadoop.mapred.Reporter)
Copyright © 2008 The Apache Software Foundation