Package org.apache.hadoop.hbase.mapred
Class TestMultiTableSnapshotInputFormat.Reducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanReducer
org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat.Reducer
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.io.Closeable,org.apache.hadoop.mapred.JobConfigurable,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>
- Enclosing class:
- TestMultiTableSnapshotInputFormat
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this stream and releases any system resources associated with it.voidconfigure(org.apache.hadoop.mapred.JobConf jobConf) voidreduce(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) Methods inherited from class org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.ScanReducer
cleanup, cleanup, makeAssertions, reduceMethods inherited from class org.apache.hadoop.mapreduce.Reducer
run, setup
-
Field Details
-
jobConf
-
-
Constructor Details
-
Reducer
public Reducer()
-
-
Method Details
-
reduce
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- Specified by:
reducein interfaceorg.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> - Throws:
IOException
-
close
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException- if an I/O error occurs
-
configure
- Specified by:
configurein interfaceorg.apache.hadoop.mapred.JobConfigurable
-