Package org.apache.hadoop.hbase.mapred
Class TestTableInputFormat.ExampleVerifier
java.lang.Object
org.apache.hadoop.hbase.mapred.TestTableInputFormat.ExampleVerifier
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.io.NullWritable,
,org.apache.hadoop.io.NullWritable> org.apache.hadoop.io.Closeable
,org.apache.hadoop.mapred.JobConfigurable
,org.apache.hadoop.mapred.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.client.Result, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable>
- Enclosing class:
- TestTableInputFormat
public static class TestTableInputFormat.ExampleVerifier
extends Object
implements org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
configure
(org.apache.hadoop.mapred.JobConf conf) void
map
(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> output, org.apache.hadoop.mapred.Reporter reporter)
-
Constructor Details
-
ExampleVerifier
public ExampleVerifier()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceorg.apache.hadoop.mapred.JobConfigurable
-
map
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable key, org.apache.hadoop.hbase.client.Result value, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException- Specified by:
map
in interfaceorg.apache.hadoop.mapred.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
org.apache.hadoop.hbase.client.Result, org.apache.hadoop.io.NullWritable, org.apache.hadoop.io.NullWritable> - Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-