org.apache.hadoop.hbase.mapred
Class IdentityTableReduce
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TableReduce<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
org.apache.hadoop.hbase.mapred.IdentityTableReduce
- All Implemented Interfaces:
- org.apache.hadoop.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
public class IdentityTableReduce
- extends TableReduce<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
Write to table each key, record pair
Method Summary |
void |
reduce(org.apache.hadoop.io.Text key,
Iterator<org.apache.hadoop.io.MapWritable> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
No aggregation, output pairs of (key, record) |
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 |
Methods inherited from interface org.apache.hadoop.io.Closeable |
close |
IdentityTableReduce
public IdentityTableReduce()
reduce
public void reduce(org.apache.hadoop.io.Text key,
Iterator<org.apache.hadoop.io.MapWritable> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- No aggregation, output pairs of (key, record)
- Specified by:
reduce
in interface org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
- Specified by:
reduce
in class TableReduce<org.apache.hadoop.io.Text,org.apache.hadoop.io.MapWritable>
- 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