|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectInputJobInfo
@InterfaceAudience.Private @InterfaceStability.Evolving public class InputJobInfo
Container for metadata read from the metadata server.
Prior to release 0.5, InputJobInfo was a key part of the public API, exposed directly
to end-users as an argument to
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.
Method Summary | |
---|---|
static InputJobInfo |
create(String databaseName,
String tableName,
String filter)
Deprecated. |
static InputJobInfo |
create(String databaseName,
String tableName,
String filter,
Properties properties)
Initializes a new InputJobInfo for reading data from a table. |
String |
getDatabaseName()
Gets the value of databaseName |
String |
getFilter()
Gets the value of partition filter |
List<PartInfo> |
getPartitions()
|
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 |
String |
getTableName()
Gets the value of tableName |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InputJobInfo create(String databaseName, String tableName, String filter, Properties properties)
databaseName
- the db nametableName
- the table namefilter
- the partition filterproperties
- implementation specific job properties@Deprecated public static InputJobInfo create(String databaseName, String tableName, String filter)
databaseName
- the db nametableName
- the table namefilter
- the partition filterpublic String getDatabaseName()
public String getTableName()
public HCatTableInfo getTableInfo()
public String getFilter()
public List<PartInfo> getPartitions()
public Properties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |