public class MTable extends Object
| Constructor and Description |
|---|
MTable() |
MTable(String tableName,
MDatabase database,
MStorageDescriptor sd,
String owner,
int createTime,
int lastAccessTime,
int retention,
List<MFieldSchema> partitionKeys,
Map<String,String> parameters,
String viewOriginalText,
String viewExpandedText,
String tableType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCreateTime() |
MDatabase |
getDatabase() |
int |
getLastAccessTime() |
String |
getOwner() |
Map<String,String> |
getParameters() |
List<MFieldSchema> |
getPartitionKeys() |
int |
getRetention() |
MStorageDescriptor |
getSd() |
String |
getTableName() |
String |
getTableType() |
String |
getViewExpandedText() |
String |
getViewOriginalText() |
void |
setCreateTime(int createTime) |
void |
setDatabase(MDatabase database) |
void |
setLastAccessTime(int lastAccessTime) |
void |
setOwner(String owner) |
void |
setParameters(Map<String,String> parameters) |
void |
setPartitionKeys(List<MFieldSchema> partKeys) |
void |
setRetention(int retention) |
void |
setSd(MStorageDescriptor sd) |
void |
setTableName(String tableName) |
void |
setTableType(String tableType) |
void |
setViewExpandedText(String viewExpandedText) |
void |
setViewOriginalText(String viewOriginalText) |
public MTable()
public MTable(String tableName, MDatabase database, MStorageDescriptor sd, String owner, int createTime, int lastAccessTime, int retention, List<MFieldSchema> partitionKeys, Map<String,String> parameters, String viewOriginalText, String viewExpandedText, String tableType)
tableName - database - sd - owner - createTime - lastAccessTime - retention - partitionKeys - parameters - viewOriginalText - viewExpandedText - tableType - public String getTableName()
public void setTableName(String tableName)
tableName - the tableName to setpublic MStorageDescriptor getSd()
public void setSd(MStorageDescriptor sd)
sd - the sd to setpublic List<MFieldSchema> getPartitionKeys()
public void setPartitionKeys(List<MFieldSchema> partKeys)
partKeys - the partKeys to setpublic void setParameters(Map<String,String> parameters)
parameters - the parameters to setpublic String getViewOriginalText()
public void setViewOriginalText(String viewOriginalText)
viewOriginalText - the original view text to setpublic String getViewExpandedText()
public void setViewExpandedText(String viewExpandedText)
viewExpandedText - the expanded view text to setpublic String getOwner()
public void setOwner(String owner)
owner - the owner to setpublic int getCreateTime()
public void setCreateTime(int createTime)
createTime - the createTime to setpublic MDatabase getDatabase()
public void setDatabase(MDatabase database)
database - the database to setpublic int getRetention()
public void setRetention(int retention)
retention - the retention to setpublic void setLastAccessTime(int lastAccessTime)
lastAccessTime - the lastAccessTime to setpublic int getLastAccessTime()
public void setTableType(String tableType)
tableType - the tableType to setpublic String getTableType()
Copyright © 2017 The Apache Software Foundation. All rights reserved.