org.apache.hadoop.hive.metastore.model
Class MPartition
java.lang.Object
org.apache.hadoop.hive.metastore.model.MPartition
public class MPartition
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPartition
public MPartition()
MPartition
public MPartition(String partitionName,
MTable table,
List<String> values,
int createTime,
int lastAccessTime,
MStorageDescriptor sd,
Map<String,String> parameters)
- Parameters:
partitionName
- table
- values
- createTime
- lastAccessTime
- sd
- parameters
-
getLastAccessTime
public int getLastAccessTime()
- Returns:
- the lastAccessTime
setLastAccessTime
public void setLastAccessTime(int lastAccessTime)
- Parameters:
lastAccessTime
- the lastAccessTime to set
getValues
public List<String> getValues()
- Returns:
- the values
setValues
public void setValues(List<String> values)
- Parameters:
values
- the values to set
getTable
public MTable getTable()
- Returns:
- the table
setTable
public void setTable(MTable table)
- Parameters:
table
- the table to set
getSd
public MStorageDescriptor getSd()
- Returns:
- the sd
setSd
public void setSd(MStorageDescriptor sd)
- Parameters:
sd
- the sd to set
getParameters
public Map<String,String> getParameters()
- Returns:
- the parameters
setParameters
public void setParameters(Map<String,String> parameters)
- Parameters:
parameters
- the parameters to set
getPartitionName
public String getPartitionName()
- Returns:
- the partitionName
setPartitionName
public void setPartitionName(String partitionName)
- Parameters:
partitionName
- the partitionName to set
getCreateTime
public int getCreateTime()
- Returns:
- the createTime
setCreateTime
public void setCreateTime(int createTime)
- Parameters:
createTime
- the createTime to set
Copyright © 2010 The Apache Software Foundation