org.apache.hadoop.hbase.mapreduce
Class TableInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<ImmutableBytesWritable,Result>
org.apache.hadoop.hbase.mapreduce.TableInputFormatBase
org.apache.hadoop.hbase.mapreduce.TableInputFormat
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
public class TableInputFormat
- extends TableInputFormatBase
- implements org.apache.hadoop.conf.Configurable
Convert HBase tabular data into a format that is consumable by Map/Reduce.
Field Summary |
static String |
INPUT_TABLE
Job parameter that specifies the output table. |
static String |
SCAN
Space delimited list of columns. |
Method Summary |
org.apache.hadoop.conf.Configuration |
getConf()
Returns the current configuration. |
void |
setConf(org.apache.hadoop.conf.Configuration configuration)
Sets the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_TABLE
public static final String INPUT_TABLE
- Job parameter that specifies the output table.
- See Also:
- Constant Field Values
SCAN
public static final String SCAN
- Space delimited list of columns.
- See Also:
- Constant Field Values
TableInputFormat
public TableInputFormat()
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Returns the current configuration.
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
- Returns:
- The current configuration.
- See Also:
Configurable.getConf()
setConf
public void setConf(org.apache.hadoop.conf.Configuration configuration)
- Sets the configuration. This is used to set the details for the table to
be scanned.
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
- Parameters:
configuration
- The configuration to set.- See Also:
Configurable.setConf(
org.apache.hadoop.conf.Configuration)
Copyright © 2009 The Apache Software Foundation