org.apache.hcatalog.mapreduce
Class JobInfo

java.lang.Object
  extended by org.apache.hcatalog.mapreduce.JobInfo
All Implemented Interfaces:
java.io.Serializable

public class JobInfo
extends java.lang.Object
implements java.io.Serializable

The class used to serialize and store the information read from the metadata server

See Also:
Serialized Form

Constructor Summary
JobInfo(HCatTableInfo hcatTableInfo, HCatSchema tableSchema, java.util.List<PartInfo> partitions)
          Instantiates a new hcat job info.
 
Method Summary
 java.lang.String getDatabaseName()
          Gets the value of dbName
 java.util.List<PartInfo> getPartitions()
          Gets the value of partitions
 java.lang.String getTableName()
          Gets the value of tableName
 HCatSchema getTableSchema()
          Gets the value of tableSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobInfo

public JobInfo(HCatTableInfo hcatTableInfo,
               HCatSchema tableSchema,
               java.util.List<PartInfo> partitions)
Instantiates a new hcat job info.

Parameters:
hcatTableInfo -
tableSchema - the table schema
partitions - the partitions
Method Detail

getDatabaseName

public java.lang.String getDatabaseName()
Gets the value of dbName

Returns:
the dbName

getTableName

public java.lang.String getTableName()
Gets the value of tableName

Returns:
the tableName

getTableSchema

public HCatSchema getTableSchema()
Gets the value of tableSchema

Returns:
the tableSchema

getPartitions

public java.util.List<PartInfo> getPartitions()
Gets the value of partitions

Returns:
the partitions