org.apache.lens.cube.metadata
Class StoragePartitionDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc
      extended by org.apache.lens.cube.metadata.StoragePartitionDesc

public class StoragePartitionDesc
extends org.apache.hadoop.hive.ql.plan.AddPartitionDesc.OnePartitionDesc


Constructor Summary
StoragePartitionDesc()
           
StoragePartitionDesc(String cubeTableName, Map<String,Date> timePartSpec, Map<String,String> nonTimePartSpec, UpdatePeriod updatePeriod)
           
 
Method Summary
 String getCubeTableName()
           
 Map<String,String> getNonTimePartSpec()
           
 Map<String,String> getPartSpec()
          Deprecated. Use getStoragePartSpec
 Map<String,String> getStoragePartSpec()
           
 Map<String,Date> getTimePartSpec()
           
 UpdatePeriod getUpdatePeriod()
           
 void setCubeTableName(String cubeTableName)
           
 void setNonTimePartSpec(Map<String,String> nonTimePartSpec)
           
 void setTimePartSpec(Map<String,Date> timePartSpec)
           
 void setUpdatePeriod(UpdatePeriod updatePeriod)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoragePartitionDesc

public StoragePartitionDesc()

StoragePartitionDesc

public StoragePartitionDesc(String cubeTableName,
                            Map<String,Date> timePartSpec,
                            Map<String,String> nonTimePartSpec,
                            UpdatePeriod updatePeriod)
Method Detail

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.