org.apache.hadoop.hbase.mapred
Class IdentityTableMap

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by 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


Constructor Summary
IdentityTableMap()
          Deprecated. constructor
 
Method Summary
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
 
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
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

IdentityTableMap

public IdentityTableMap()
Deprecated. 
constructor

Method Detail

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 name
columns - columns to scan
mapper - mapper class
job - 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.