org.apache.hadoop.hive.metastore.model
Class MTable
java.lang.Object
org.apache.hadoop.hive.metastore.model.MTable
public class MTable
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTable
public MTable()
MTable
public MTable(String tableName,
MDatabase database,
MStorageDescriptor sd,
String owner,
int createTime,
int lastAccessTime,
int retention,
List<MFieldSchema> partitionKeys,
Map<String,String> parameters)
- Parameters:
tableName
- database
- sd
- owner
- createTime
- lastAccessTime
- retention
- partitionKeys
- parameters
-
getTableName
public String getTableName()
- Returns:
- the tableName
setTableName
public void setTableName(String tableName)
- Parameters:
tableName
- the tableName to set
getSd
public MStorageDescriptor getSd()
- Returns:
- the sd
setSd
public void setSd(MStorageDescriptor sd)
- Parameters:
sd
- the sd to set
getPartitionKeys
public List<MFieldSchema> getPartitionKeys()
- Returns:
- the partKeys
setPartitionKeys
public void setPartitionKeys(List<MFieldSchema> partKeys)
- Parameters:
partKeys
- the partKeys 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
getOwner
public String getOwner()
- Returns:
- the owner
setOwner
public void setOwner(String owner)
- Parameters:
owner
- the owner to set
getCreateTime
public int getCreateTime()
- Returns:
- the createTime
setCreateTime
public void setCreateTime(int createTime)
- Parameters:
createTime
- the createTime to set
getDatabase
public MDatabase getDatabase()
- Returns:
- the database
setDatabase
public void setDatabase(MDatabase database)
- Parameters:
database
- the database to set
getRetention
public int getRetention()
- Returns:
- the retention
setRetention
public void setRetention(int retention)
- Parameters:
retention
- the retention to set
setLastAccessTime
public void setLastAccessTime(int lastAccessTime)
- Parameters:
lastAccessTime
- the lastAccessTime to set
getLastAccessTime
public int getLastAccessTime()
- Returns:
- the lastAccessTime
Copyright © 2009 The Apache Software Foundation