public class HCatInputFormat extends HCatBaseInputFormat
| Constructor and Description |
|---|
HCatInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
HCatInputFormat |
setFilter(java.lang.String filter)
Set a filter on the input table.
|
static void |
setInput(Configuration conf,
InputJobInfo inputJobInfo)
Deprecated.
as of release 0.5, and will be removed in a future release
|
static HCatInputFormat |
setInput(Configuration conf,
java.lang.String dbName,
java.lang.String tableName)
Set inputs to use for the job.
|
static void |
setInput(Job job,
InputJobInfo inputJobInfo)
Deprecated.
as of release 0.5, and will be removed in a future release
|
static HCatInputFormat |
setInput(Job job,
java.lang.String dbName,
java.lang.String tableName)
See
#setInput(org.apache.hadoop.conf.Configuration, String, String) |
HCatInputFormat |
setProperties(java.util.Properties properties)
Set properties for the input format.
|
createRecordReader, getMapRedInputFormat, getSplits, getTableSchema, getTableSchema, setOutputSchema@Deprecated
public static void setInput(Job job,
InputJobInfo inputJobInfo)
throws java.io.IOException
java.io.IOException@Deprecated
public static void setInput(Configuration conf,
InputJobInfo inputJobInfo)
throws java.io.IOException
java.io.IOExceptionpublic static HCatInputFormat setInput(Job job, java.lang.String dbName, java.lang.String tableName) throws java.io.IOException
#setInput(org.apache.hadoop.conf.Configuration, String, String)java.io.IOExceptionpublic static HCatInputFormat setInput(Configuration conf, java.lang.String dbName, java.lang.String tableName) throws java.io.IOException
conf - the job configurationdbName - database name, which if null 'default' is usedtableName - table namejava.io.IOException - on all errorspublic HCatInputFormat setFilter(java.lang.String filter) throws java.io.IOException
filter - the filter specification, which may be nulljava.io.IOException - on all errorspublic HCatInputFormat setProperties(java.util.Properties properties) throws java.io.IOException
properties - properties for the input specificationjava.io.IOException - on all errorsCopyright © 2012 The Apache Software Foundation