org.apache.lens.cube.metadata
Class StoragePartitionDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc
org.apache.lens.cube.metadata.StoragePartitionDesc
public class StoragePartitionDesc
- extends org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc
Methods inherited from class org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc |
getBucketCols, getCols, getInputFormat, getLocation, getNumBuckets, getOutputFormat, getPartParams, getSerdeParams, getSerializationLib, getSortCols, setBucketCols, setCols, setInputFormat, setLocation, setNumBuckets, setOutputFormat, setPartParams, setSerdeParams, setSerializationLib, setSortCols |
StoragePartitionDesc
public StoragePartitionDesc()
StoragePartitionDesc
public StoragePartitionDesc(String cubeTableName,
Map<String,Date> timePartSpec,
Map<String,String> nonTimePartSpec,
UpdatePeriod updatePeriod)
getCubeTableName
public String getCubeTableName()
- Returns:
- the cubeTableName
setCubeTableName
public void setCubeTableName(String cubeTableName)
- Parameters:
cubeTableName
- the cubeTableName to set
getPartSpec
@Deprecated
public Map<String,String> getPartSpec()
- Deprecated. Use getStoragePartSpec
- Overrides:
getPartSpec
in class org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc
getStoragePartSpec
public Map<String,String> getStoragePartSpec()
getTimePartSpec
public Map<String,Date> getTimePartSpec()
- Returns:
- the timePartSpec
setTimePartSpec
public void setTimePartSpec(Map<String,Date> timePartSpec)
- Parameters:
timePartSpec
- the timePartSpec to set
getNonTimePartSpec
public Map<String,String> getNonTimePartSpec()
- Returns:
- the nonTimePartSpec
setNonTimePartSpec
public void setNonTimePartSpec(Map<String,String> nonTimePartSpec)
- Parameters:
nonTimePartSpec
- the nonTimePartSpec to set
getUpdatePeriod
public UpdatePeriod getUpdatePeriod()
- Returns:
- the updatePeriod
setUpdatePeriod
public void setUpdatePeriod(UpdatePeriod updatePeriod)
- Parameters:
updatePeriod
- the updatePeriod to set
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.