public static class TestMultiTableSnapshotInputFormat.Reducer extends MultiTableInputFormatTestBase.ScanReducer implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.mapred.JobConf |
jobConf |
Constructor and Description |
---|
Reducer() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream and releases any system resources associated
with it.
|
void |
configure(org.apache.hadoop.mapred.JobConf jobConf) |
void |
reduce(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
Iterator<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values,
org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable> outputCollector,
org.apache.hadoop.mapred.Reporter reporter) |
cleanup, cleanup, makeAssertions, reduce
private org.apache.hadoop.mapred.JobConf jobConf
public Reducer()
public void reduce(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, Iterator<org.apache.hadoop.hbase.io.ImmutableBytesWritable> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable> outputCollector, org.apache.hadoop.mapred.Reporter reporter) throws IOException
reduce
in interface org.apache.hadoop.mapred.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
- if an I/O error occurspublic void configure(org.apache.hadoop.mapred.JobConf jobConf)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.