@InterfaceAudience.Public @InterfaceStability.Stable public class IdentityTableMap extends MapReduceBase implements TableMap<ImmutableBytesWritable,Result>
| Constructor and Description |
|---|
IdentityTableMap()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
initJob(String table,
String columns,
Class<? extends TableMap> mapper,
JobConf job)
Use this before submitting a TableMap job.
|
void |
map(ImmutableBytesWritable key,
Result value,
<any> output,
Reporter reporter)
Pass the key, value to reduce
|
public static void initJob(String table, String columns, Class<? extends TableMap> mapper, JobConf job)
table - table namecolumns - columns to scanmapper - mapper classjob - job configurationpublic void map(ImmutableBytesWritable key, Result value, <any> output, Reporter reporter) throws IOException
key - value - output - reporter - IOException