org.apache.hadoop.hive.metastore.api
Class Table
java.lang.Object
org.apache.hadoop.hive.metastore.api.Table
- All Implemented Interfaces:
- com.facebook.thrift.TBase, Serializable
public class Table
- extends Object
- implements com.facebook.thrift.TBase, Serializable
- See Also:
- Serialized Form
__isset
public final Table.Isset __isset
Table
public Table()
Table
public Table(String tableName,
String dbName,
String owner,
int createTime,
int lastAccessTime,
int retention,
StorageDescriptor sd,
List<FieldSchema> partitionKeys,
Map<String,String> parameters)
getTableName
public String getTableName()
setTableName
public void setTableName(String tableName)
unsetTableName
public void unsetTableName()
getDbName
public String getDbName()
setDbName
public void setDbName(String dbName)
unsetDbName
public void unsetDbName()
getOwner
public String getOwner()
setOwner
public void setOwner(String owner)
unsetOwner
public void unsetOwner()
getCreateTime
public int getCreateTime()
setCreateTime
public void setCreateTime(int createTime)
unsetCreateTime
public void unsetCreateTime()
getLastAccessTime
public int getLastAccessTime()
setLastAccessTime
public void setLastAccessTime(int lastAccessTime)
unsetLastAccessTime
public void unsetLastAccessTime()
getRetention
public int getRetention()
setRetention
public void setRetention(int retention)
unsetRetention
public void unsetRetention()
getSd
public StorageDescriptor getSd()
setSd
public void setSd(StorageDescriptor sd)
unsetSd
public void unsetSd()
getPartitionKeysSize
public int getPartitionKeysSize()
getPartitionKeysIterator
public Iterator<FieldSchema> getPartitionKeysIterator()
addToPartitionKeys
public void addToPartitionKeys(FieldSchema elem)
getPartitionKeys
public List<FieldSchema> getPartitionKeys()
setPartitionKeys
public void setPartitionKeys(List<FieldSchema> partitionKeys)
unsetPartitionKeys
public void unsetPartitionKeys()
getParametersSize
public int getParametersSize()
putToParameters
public void putToParameters(String key,
String val)
getParameters
public Map<String,String> getParameters()
setParameters
public void setParameters(Map<String,String> parameters)
unsetParameters
public void unsetParameters()
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(Table that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
read
public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
- Specified by:
read
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
write
public void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
- Specified by:
write
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation