Package org.apache.hadoop.hbase.mapred
Class TestTableMapReduceUtil.ClassificatorMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil.ClassificatorMapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,
,org.apache.hadoop.hbase.client.Put> 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.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put>
- Enclosing class:
- TestTableMapReduceUtil
static class TestTableMapReduceUtil.ClassificatorMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.hbase.mapred.TableMap<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Put>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
map
(org.apache.hadoop.hbase.io.ImmutableBytesWritable row, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put> outCollector, org.apache.hadoop.mapred.Reporter reporter) 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
-
Constructor Details
-
ClassificatorMapper
-
-
Method Details
-
map
public void map(org.apache.hadoop.hbase.io.ImmutableBytesWritable row, org.apache.hadoop.hbase.client.Result result, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put> outCollector, 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.hbase.io.ImmutableBytesWritable, org.apache.hadoop.hbase.client.Put> - Throws:
IOException
-