public class InputJobInfo
extends java.lang.Object
implements java.io.Serializable
HCatInputFormat#setInput(org.apache.hadoop.mapreduce.Job, InputJobInfo)
.
Going forward, we plan on treating InputJobInfo as an implementation detail and no longer
expose to end-users. Should you have a need to use InputJobInfo outside HCatalog itself,
please contact the developer mailing list before depending on this class.Modifier and Type | Method and Description |
---|---|
static InputJobInfo |
create(java.lang.String databaseName,
java.lang.String tableName,
java.lang.String filter)
Deprecated.
|
static InputJobInfo |
create(java.lang.String databaseName,
java.lang.String tableName,
java.lang.String filter,
java.util.Properties properties)
Initializes a new InputJobInfo
for reading data from a table.
|
java.lang.String |
getDatabaseName()
Gets the value of databaseName
|
java.lang.String |
getFilter()
Gets the value of partition filter
|
java.util.List<PartInfo> |
getPartitions() |
java.util.Properties |
getProperties()
Set/Get Property information to be passed down to *StorageHandler implementation
put implementation specific storage handler configurations here
|
HCatTableInfo |
getTableInfo()
Gets the table's meta information
|
java.lang.String |
getTableName()
Gets the value of tableName
|
public static InputJobInfo create(java.lang.String databaseName, java.lang.String tableName, java.lang.String filter, java.util.Properties properties)
databaseName
- the db nametableName
- the table namefilter
- the partition filterproperties
- implementation specific job properties@Deprecated public static InputJobInfo create(java.lang.String databaseName, java.lang.String tableName, java.lang.String filter)
databaseName
- the db nametableName
- the table namefilter
- the partition filterpublic java.lang.String getDatabaseName()
public java.lang.String getTableName()
public HCatTableInfo getTableInfo()
public java.lang.String getFilter()
public java.util.List<PartInfo> getPartitions()
public java.util.Properties getProperties()
Copyright © 2012 The Apache Software Foundation