org.apache.hadoop.hbase.mapred
Class TableInputFormat

java.lang.Object
  extended by org.apache.hadoop.hbase.mapred.TableInputFormatBase
      extended by org.apache.hadoop.hbase.mapred.TableInputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.InputFormat<ImmutableBytesWritable,RowResult>, org.apache.hadoop.mapred.JobConfigurable

public class TableInputFormat
extends TableInputFormatBase
implements org.apache.hadoop.mapred.JobConfigurable

Convert HBase tabular data into a format that is consumable by Map/Reduce.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.mapred.TableInputFormatBase
TableInputFormatBase.TableRecordReader
 
Field Summary
static String COLUMN_LIST
          space delimited list of columns
 
Constructor Summary
TableInputFormat()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf job)
          
 void validateInput(org.apache.hadoop.mapred.JobConf job)
          
 
Methods inherited from class org.apache.hadoop.hbase.mapred.TableInputFormatBase
getRecordReader, getSplits, setHTable, setInputColums, setRowFilter, setTableRecordReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_LIST

public static final String COLUMN_LIST
space delimited list of columns

See Also:
for column name wildcards, Constant Field Values
Constructor Detail

TableInputFormat

public TableInputFormat()
Method Detail

configure

public void configure(org.apache.hadoop.mapred.JobConf job)

Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable

validateInput

public void validateInput(org.apache.hadoop.mapred.JobConf job)
                   throws IOException

Specified by:
validateInput in interface org.apache.hadoop.mapred.InputFormat<ImmutableBytesWritable,RowResult>
Throws:
IOException


Copyright © 2008 The Apache Software Foundation