org.apache.hadoop.hive.metastore.model
Class MPartition

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.model.MPartition

public class MPartition
extends Object


Constructor Summary
MPartition()
           
MPartition(String partitionName, MTable table, List<String> values, int createTime, int lastAccessTime, MStorageDescriptor sd, Map<String,String> parameters)
           
 
Method Summary
 int getCreateTime()
           
 int getLastAccessTime()
           
 Map<String,String> getParameters()
           
 String getPartitionName()
           
 MStorageDescriptor getSd()
           
 MTable getTable()
           
 List<String> getValues()
           
 void setCreateTime(int createTime)
           
 void setLastAccessTime(int lastAccessTime)
           
 void setParameters(Map<String,String> parameters)
           
 void setPartitionName(String partitionName)
           
 void setSd(MStorageDescriptor sd)
           
 void setTable(MTable table)
           
 void setValues(List<String> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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 © 2009 The Apache Software Foundation