@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class IdentityTableMap extends org.apache.hadoop.mapred.MapReduceBase implements TableMap<ImmutableBytesWritable,Result>
| Constructor and Description |
|---|
IdentityTableMap()
Deprecated.
constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
map(ImmutableBytesWritable key,
Result value,
org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Result> output,
org.apache.hadoop.mapred.Reporter reporter)
Deprecated.
Pass the key, value to reduce
|
public static void initJob(String table, String columns, Class<? extends TableMap> mapper, org.apache.hadoop.mapred.JobConf job)
table - table namecolumns - columns to scanmapper - mapper classjob - job configurationpublic void map(ImmutableBytesWritable key, Result value, org.apache.hadoop.mapred.OutputCollector<ImmutableBytesWritable,Result> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
map in interface org.apache.hadoop.mapred.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Result>key - value - output - reporter - IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.