public class PartInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PartInfo(HCatSchema partitionSchema,
HiveStorageHandler storageHandler,
java.lang.String location,
java.util.Properties hcatProperties,
java.util.Map<java.lang.String,java.lang.String> jobProperties,
HCatTableInfo tableInfo)
Instantiates a new hcat partition info.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInputFormatClassName() |
java.util.Properties |
getInputStorageHandlerProperties()
Gets the input storage handler properties.
|
java.util.Map<java.lang.String,java.lang.String> |
getJobProperties()
Gets the job properties.
|
java.lang.String |
getLocation()
Gets the value of location.
|
java.lang.String |
getOutputFormatClassName() |
HCatSchema |
getPartitionSchema()
Gets the value of partitionSchema.
|
java.util.Map<java.lang.String,java.lang.String> |
getPartitionValues()
Gets the partition values.
|
java.lang.String |
getSerdeClassName() |
java.lang.String |
getStorageHandlerClassName() |
HCatTableInfo |
getTableInfo()
Gets the HCatalog table information.
|
void |
setPartitionValues(java.util.Map<java.lang.String,java.lang.String> partitionValues)
Sets the partition values.
|
public PartInfo(HCatSchema partitionSchema, HiveStorageHandler storageHandler, java.lang.String location, java.util.Properties hcatProperties, java.util.Map<java.lang.String,java.lang.String> jobProperties, HCatTableInfo tableInfo)
partitionSchema
- the partition schemastorageHandler
- the storage handlerlocation
- the locationhcatProperties
- hcat-specific properties at the partitionjobProperties
- the job propertiestableInfo
- the table informationpublic HCatSchema getPartitionSchema()
public java.lang.String getStorageHandlerClassName()
public java.lang.String getInputFormatClassName()
public java.lang.String getOutputFormatClassName()
public java.lang.String getSerdeClassName()
public java.util.Properties getInputStorageHandlerProperties()
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()
public java.util.Map<java.lang.String,java.lang.String> getJobProperties()
public HCatTableInfo getTableInfo()
Copyright © 2012 The Apache Software Foundation