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