@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class Table extends Object implements org.apache.thrift.TBase<Table,Table._Fields>, Serializable, Cloneable, Comparable<Table>
Modifier and Type | Class and Description |
---|---|
static class |
Table._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<Table._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Table() |
Table(String tableName,
String dbName,
String owner,
int createTime,
int lastAccessTime,
int retention,
StorageDescriptor sd,
List<FieldSchema> partitionKeys,
Map<String,String> parameters,
String viewOriginalText,
String viewExpandedText,
String tableType) |
Table(Table other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToPartitionKeys(FieldSchema elem) |
void |
addToRequiredReadCapabilities(String elem) |
void |
addToRequiredWriteCapabilities(String elem) |
void |
clear() |
int |
compareTo(Table other) |
Table |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Table that) |
Table._Fields |
fieldForId(int fieldId) |
byte |
getAccessType() |
String |
getCatName() |
ColumnStatistics |
getColStats() |
int |
getCreateTime() |
CreationMetadata |
getCreationMetadata() |
String |
getDbName() |
ObjectDictionary |
getDictionary() |
Object |
getFieldValue(Table._Fields field) |
FileMetadata |
getFileMetadata() |
long |
getId() |
int |
getLastAccessTime() |
String |
getOwner() |
PrincipalType |
getOwnerType() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
List<FieldSchema> |
getPartitionKeys() |
Iterator<FieldSchema> |
getPartitionKeysIterator() |
int |
getPartitionKeysSize() |
PrincipalPrivilegeSet |
getPrivileges() |
List<String> |
getRequiredReadCapabilities() |
Iterator<String> |
getRequiredReadCapabilitiesIterator() |
int |
getRequiredReadCapabilitiesSize() |
List<String> |
getRequiredWriteCapabilities() |
Iterator<String> |
getRequiredWriteCapabilitiesIterator() |
int |
getRequiredWriteCapabilitiesSize() |
int |
getRetention() |
StorageDescriptor |
getSd() |
String |
getTableName() |
String |
getTableType() |
long |
getTxnId() |
String |
getViewExpandedText() |
String |
getViewOriginalText() |
long |
getWriteId() |
int |
hashCode() |
boolean |
isIsStatsCompliant() |
boolean |
isRewriteEnabled() |
boolean |
isSet(Table._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAccessType()
Returns true if field accessType is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetColStats()
Returns true if field colStats is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreateTime()
Returns true if field createTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreationMetadata()
Returns true if field creationMetadata is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDictionary()
Returns true if field dictionary is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileMetadata()
Returns true if field fileMetadata is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsStatsCompliant()
Returns true if field isStatsCompliant is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastAccessTime()
Returns true if field lastAccessTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwnerType()
Returns true if field ownerType is set (has been assigned a value) and false otherwise
|
boolean |
isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionKeys()
Returns true if field partitionKeys is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrivileges()
Returns true if field privileges is set (has been assigned a value) and false otherwise
|
boolean |
isSetRequiredReadCapabilities()
Returns true if field requiredReadCapabilities is set (has been assigned a value) and false otherwise
|
boolean |
isSetRequiredWriteCapabilities()
Returns true if field requiredWriteCapabilities is set (has been assigned a value) and false otherwise
|
boolean |
isSetRetention()
Returns true if field retention is set (has been assigned a value) and false otherwise
|
boolean |
isSetRewriteEnabled()
Returns true if field rewriteEnabled is set (has been assigned a value) and false otherwise
|
boolean |
isSetSd()
Returns true if field sd is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableType()
Returns true if field tableType is set (has been assigned a value) and false otherwise
|
boolean |
isSetTemporary()
Returns true if field temporary is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnId()
Returns true if field txnId is set (has been assigned a value) and false otherwise
|
boolean |
isSetViewExpandedText()
Returns true if field viewExpandedText is set (has been assigned a value) and false otherwise
|
boolean |
isSetViewOriginalText()
Returns true if field viewOriginalText is set (has been assigned a value) and false otherwise
|
boolean |
isSetWriteId()
Returns true if field writeId is set (has been assigned a value) and false otherwise
|
boolean |
isTemporary() |
void |
putToParameters(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAccessType(byte accessType) |
void |
setAccessTypeIsSet(boolean value) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setColStats(ColumnStatistics colStats) |
void |
setColStatsIsSet(boolean value) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setCreationMetadata(CreationMetadata creationMetadata) |
void |
setCreationMetadataIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setDictionary(ObjectDictionary dictionary) |
void |
setDictionaryIsSet(boolean value) |
void |
setFieldValue(Table._Fields field,
Object value) |
void |
setFileMetadata(FileMetadata fileMetadata) |
void |
setFileMetadataIsSet(boolean value) |
void |
setId(long id) |
void |
setIdIsSet(boolean value) |
void |
setIsStatsCompliant(boolean isStatsCompliant) |
void |
setIsStatsCompliantIsSet(boolean value) |
void |
setLastAccessTime(int lastAccessTime) |
void |
setLastAccessTimeIsSet(boolean value) |
void |
setOwner(String owner) |
void |
setOwnerIsSet(boolean value) |
void |
setOwnerType(PrincipalType ownerType) |
void |
setOwnerTypeIsSet(boolean value) |
void |
setParameters(Map<String,String> parameters) |
void |
setParametersIsSet(boolean value) |
void |
setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
setPartitionKeysIsSet(boolean value) |
void |
setPrivileges(PrincipalPrivilegeSet privileges) |
void |
setPrivilegesIsSet(boolean value) |
void |
setRequiredReadCapabilities(List<String> requiredReadCapabilities) |
void |
setRequiredReadCapabilitiesIsSet(boolean value) |
void |
setRequiredWriteCapabilities(List<String> requiredWriteCapabilities) |
void |
setRequiredWriteCapabilitiesIsSet(boolean value) |
void |
setRetention(int retention) |
void |
setRetentionIsSet(boolean value) |
void |
setRewriteEnabled(boolean rewriteEnabled) |
void |
setRewriteEnabledIsSet(boolean value) |
void |
setSd(StorageDescriptor sd) |
void |
setSdIsSet(boolean value) |
void |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setTableType(String tableType) |
void |
setTableTypeIsSet(boolean value) |
void |
setTemporary(boolean temporary) |
void |
setTemporaryIsSet(boolean value) |
void |
setTxnId(long txnId) |
void |
setTxnIdIsSet(boolean value) |
void |
setViewExpandedText(String viewExpandedText) |
void |
setViewExpandedTextIsSet(boolean value) |
void |
setViewOriginalText(String viewOriginalText) |
void |
setViewOriginalTextIsSet(boolean value) |
void |
setWriteId(long writeId) |
void |
setWriteIdIsSet(boolean value) |
String |
toString() |
void |
unsetAccessType() |
void |
unsetCatName() |
void |
unsetColStats() |
void |
unsetCreateTime() |
void |
unsetCreationMetadata() |
void |
unsetDbName() |
void |
unsetDictionary() |
void |
unsetFileMetadata() |
void |
unsetId() |
void |
unsetIsStatsCompliant() |
void |
unsetLastAccessTime() |
void |
unsetOwner() |
void |
unsetOwnerType() |
void |
unsetParameters() |
void |
unsetPartitionKeys() |
void |
unsetPrivileges() |
void |
unsetRequiredReadCapabilities() |
void |
unsetRequiredWriteCapabilities() |
void |
unsetRetention() |
void |
unsetRewriteEnabled() |
void |
unsetSd() |
void |
unsetTableName() |
void |
unsetTableType() |
void |
unsetTemporary() |
void |
unsetTxnId() |
void |
unsetViewExpandedText() |
void |
unsetViewOriginalText() |
void |
unsetWriteId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Table._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Table()
public Table(String tableName, String dbName, String owner, int createTime, int lastAccessTime, int retention, StorageDescriptor sd, List<FieldSchema> partitionKeys, Map<String,String> parameters, String viewOriginalText, String viewExpandedText, String tableType)
public Table(Table other)
public Table deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Table,Table._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Table,Table._Fields>
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getOwner()
public void setOwner(String owner)
public void unsetOwner()
public boolean isSetOwner()
public void setOwnerIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public int getLastAccessTime()
public void setLastAccessTime(int lastAccessTime)
public void unsetLastAccessTime()
public boolean isSetLastAccessTime()
public void setLastAccessTimeIsSet(boolean value)
public int getRetention()
public void setRetention(int retention)
public void unsetRetention()
public boolean isSetRetention()
public void setRetentionIsSet(boolean value)
public StorageDescriptor getSd()
public void setSd(StorageDescriptor sd)
public void unsetSd()
public boolean isSetSd()
public void setSdIsSet(boolean value)
public int getPartitionKeysSize()
public Iterator<FieldSchema> getPartitionKeysIterator()
public void addToPartitionKeys(FieldSchema elem)
public List<FieldSchema> getPartitionKeys()
public void setPartitionKeys(List<FieldSchema> partitionKeys)
public void unsetPartitionKeys()
public boolean isSetPartitionKeys()
public void setPartitionKeysIsSet(boolean value)
public int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public String getViewOriginalText()
public void setViewOriginalText(String viewOriginalText)
public void unsetViewOriginalText()
public boolean isSetViewOriginalText()
public void setViewOriginalTextIsSet(boolean value)
public String getViewExpandedText()
public void setViewExpandedText(String viewExpandedText)
public void unsetViewExpandedText()
public boolean isSetViewExpandedText()
public void setViewExpandedTextIsSet(boolean value)
public String getTableType()
public void setTableType(String tableType)
public void unsetTableType()
public boolean isSetTableType()
public void setTableTypeIsSet(boolean value)
public PrincipalPrivilegeSet getPrivileges()
public void setPrivileges(PrincipalPrivilegeSet privileges)
public void unsetPrivileges()
public boolean isSetPrivileges()
public void setPrivilegesIsSet(boolean value)
public boolean isTemporary()
public void setTemporary(boolean temporary)
public void unsetTemporary()
public boolean isSetTemporary()
public void setTemporaryIsSet(boolean value)
public boolean isRewriteEnabled()
public void setRewriteEnabled(boolean rewriteEnabled)
public void unsetRewriteEnabled()
public boolean isSetRewriteEnabled()
public void setRewriteEnabledIsSet(boolean value)
public CreationMetadata getCreationMetadata()
public void setCreationMetadata(CreationMetadata creationMetadata)
public void unsetCreationMetadata()
public boolean isSetCreationMetadata()
public void setCreationMetadataIsSet(boolean value)
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public PrincipalType getOwnerType()
PrincipalType
public void setOwnerType(PrincipalType ownerType)
PrincipalType
public void unsetOwnerType()
public boolean isSetOwnerType()
public void setOwnerTypeIsSet(boolean value)
public long getWriteId()
public void setWriteId(long writeId)
public void unsetWriteId()
public boolean isSetWriteId()
public void setWriteIdIsSet(boolean value)
public boolean isIsStatsCompliant()
public void setIsStatsCompliant(boolean isStatsCompliant)
public void unsetIsStatsCompliant()
public boolean isSetIsStatsCompliant()
public void setIsStatsCompliantIsSet(boolean value)
public ColumnStatistics getColStats()
public void setColStats(ColumnStatistics colStats)
public void unsetColStats()
public boolean isSetColStats()
public void setColStatsIsSet(boolean value)
public byte getAccessType()
public void setAccessType(byte accessType)
public void unsetAccessType()
public boolean isSetAccessType()
public void setAccessTypeIsSet(boolean value)
public int getRequiredReadCapabilitiesSize()
public void addToRequiredReadCapabilities(String elem)
public void setRequiredReadCapabilities(List<String> requiredReadCapabilities)
public void unsetRequiredReadCapabilities()
public boolean isSetRequiredReadCapabilities()
public void setRequiredReadCapabilitiesIsSet(boolean value)
public int getRequiredWriteCapabilitiesSize()
public void addToRequiredWriteCapabilities(String elem)
public void setRequiredWriteCapabilities(List<String> requiredWriteCapabilities)
public void unsetRequiredWriteCapabilities()
public boolean isSetRequiredWriteCapabilities()
public void setRequiredWriteCapabilitiesIsSet(boolean value)
public long getId()
public void setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public FileMetadata getFileMetadata()
public void setFileMetadata(FileMetadata fileMetadata)
public void unsetFileMetadata()
public boolean isSetFileMetadata()
public void setFileMetadataIsSet(boolean value)
public ObjectDictionary getDictionary()
public void setDictionary(ObjectDictionary dictionary)
public void unsetDictionary()
public boolean isSetDictionary()
public void setDictionaryIsSet(boolean value)
public long getTxnId()
public void setTxnId(long txnId)
public void unsetTxnId()
public boolean isSetTxnId()
public void setTxnIdIsSet(boolean value)
public void setFieldValue(Table._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Table,Table._Fields>
public Object getFieldValue(Table._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Table,Table._Fields>
public boolean isSet(Table._Fields field)
isSet
in interface org.apache.thrift.TBase<Table,Table._Fields>
public boolean equals(Table that)
public int compareTo(Table other)
compareTo
in interface Comparable<Table>
public Table._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Table,Table._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.