org.apache.hadoop.hbase.mapred
Class IdentityTableMap
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.hbase.mapred.IdentityTableMap
- All Implemented Interfaces:
- Closeable, TableMap<ImmutableBytesWritable,Result>, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Result>
Deprecated.
@Deprecated
public class IdentityTableMap
- extends org.apache.hadoop.mapred.MapReduceBase
- implements TableMap<ImmutableBytesWritable,Result>
Pass the given key and record as-is to reduce
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 |
IdentityTableMap
public IdentityTableMap()
- Deprecated.
- constructor
initJob
public static void initJob(String table,
String columns,
Class<? extends TableMap> mapper,
org.apache.hadoop.mapred.JobConf job)
- Deprecated.
- Use this before submitting a TableMap job. It will
appropriately set up the JobConf.
- Parameters:
table
- table namecolumns
- columns to scanmapper
- mapper classjob
- job configuration
map
public void map(ImmutableBytesWritable key,
Result value,
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Result> output,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Deprecated.
- Pass the key, value to reduce
- Specified by:
map
in interface org.apache.hadoop.mapred.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Result>
- Parameters:
key
- value
- output
- reporter
-
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.