|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hcatalog.mapreduce.PartInfo
public class PartInfo
The Class used to serialize the partition information read from the metadata server that maps to a partition
Constructor Summary | |
---|---|
PartInfo(HCatSchema partitionSchema,
java.lang.String inputStorageDriverClass,
java.lang.String location,
java.util.Properties hcatProperties)
Instantiates a new hcat partition info. |
Method Summary | |
---|---|
java.lang.String |
getInputStorageDriverClass()
Gets the value of input storage driver class name. |
java.util.Properties |
getInputStorageDriverProperties()
Gets the value of hcatProperties. |
java.lang.String |
getLocation()
Gets the value of location. |
HCatSchema |
getPartitionSchema()
Gets the value of partitionSchema. |
java.util.Map<java.lang.String,java.lang.String> |
getPartitionValues()
Gets the partition values. |
void |
setPartitionValues(java.util.Map<java.lang.String,java.lang.String> partitionValues)
Sets the partition values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartInfo(HCatSchema partitionSchema, java.lang.String inputStorageDriverClass, java.lang.String location, java.util.Properties hcatProperties)
partitionSchema
- the partition schemainputStorageDriverClass
- the input storage driver class namelocation
- the locationhcatProperties
- hcat-specific properties at the partitionMethod Detail |
---|
public HCatSchema getPartitionSchema()
public java.lang.String getInputStorageDriverClass()
public java.util.Properties getInputStorageDriverProperties()
public java.lang.String getLocation()
public void setPartitionValues(java.util.Map<java.lang.String,java.lang.String> partitionValues)
partitionValues
- the new partition valuespublic java.util.Map<java.lang.String,java.lang.String> getPartitionValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |