Package io.trino.hive.thrift.metastore
Class Table
java.lang.Object
io.trino.hive.thrift.metastore.Table
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Table>,org.apache.thrift.TBase<Table,,Table._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class Table
extends Object
implements org.apache.thrift.TBase<Table,Table._Fields>, Serializable, Cloneable, Comparable<Table>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Table._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionTable()Performs a deep copy on other.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) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intgetFieldValue(Table._Fields field) intgetOwner()intintintgetSd()longinthashCode()booleanbooleanisSet(Table._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field createTime is set (has been assigned a value) and false otherwisebooleanReturns true if field creationMetadata is set (has been assigned a value) and false otherwisebooleanReturns true if field dbName is set (has been assigned a value) and false otherwisebooleanReturns true if field lastAccessTime is set (has been assigned a value) and false otherwisebooleanReturns true if field owner is set (has been assigned a value) and false otherwisebooleanReturns true if field ownerType is set (has been assigned a value) and false otherwisebooleanReturns true if field parameters is set (has been assigned a value) and false otherwisebooleanReturns true if field partitionKeys is set (has been assigned a value) and false otherwisebooleanReturns true if field privileges is set (has been assigned a value) and false otherwisebooleanReturns true if field retention is set (has been assigned a value) and false otherwisebooleanReturns true if field rewriteEnabled is set (has been assigned a value) and false otherwisebooleanisSetSd()Returns true if field sd is set (has been assigned a value) and false otherwisebooleanReturns true if field tableName is set (has been assigned a value) and false otherwisebooleanReturns true if field tableType is set (has been assigned a value) and false otherwisebooleanReturns true if field temporary is set (has been assigned a value) and false otherwisebooleanReturns true if field viewExpandedText is set (has been assigned a value) and false otherwisebooleanReturns true if field viewOriginalText is set (has been assigned a value) and false otherwisebooleanReturns true if field writeId is set (has been assigned a value) and false otherwisebooleanvoidputToParameters(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) setCreateTime(int createTime) voidsetCreateTimeIsSet(boolean value) setCreationMetadata(CreationMetadata creationMetadata) voidsetCreationMetadataIsSet(boolean value) voidsetDbNameIsSet(boolean value) voidsetFieldValue(Table._Fields field, Object value) setLastAccessTime(int lastAccessTime) voidsetLastAccessTimeIsSet(boolean value) voidsetOwnerIsSet(boolean value) setOwnerType(PrincipalType ownerType) voidsetOwnerTypeIsSet(boolean value) setParameters(Map<String, String> parameters) voidsetParametersIsSet(boolean value) setPartitionKeys(List<FieldSchema> partitionKeys) voidsetPartitionKeysIsSet(boolean value) setPrivileges(PrincipalPrivilegeSet privileges) voidsetPrivilegesIsSet(boolean value) setRetention(int retention) voidsetRetentionIsSet(boolean value) setRewriteEnabled(boolean rewriteEnabled) voidsetRewriteEnabledIsSet(boolean value) voidsetSdIsSet(boolean value) setTableName(String tableName) voidsetTableNameIsSet(boolean value) setTableType(String tableType) voidsetTableTypeIsSet(boolean value) setTemporary(boolean temporary) voidsetTemporaryIsSet(boolean value) setViewExpandedText(String viewExpandedText) voidsetViewExpandedTextIsSet(boolean value) setViewOriginalText(String viewOriginalText) voidsetViewOriginalTextIsSet(boolean value) setWriteId(long writeId) voidsetWriteIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidunsetSd()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Table
public Table() -
Table
-
Table
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
getTableName
-
setTableName
-
unsetTableName
public void unsetTableName() -
isSetTableName
public boolean isSetTableName()Returns true if field tableName is set (has been assigned a value) and false otherwise -
setTableNameIsSet
public void setTableNameIsSet(boolean value) -
getDbName
-
setDbName
-
unsetDbName
public void unsetDbName() -
isSetDbName
public boolean isSetDbName()Returns true if field dbName is set (has been assigned a value) and false otherwise -
setDbNameIsSet
public void setDbNameIsSet(boolean value) -
getOwner
-
setOwner
-
unsetOwner
public void unsetOwner() -
isSetOwner
public boolean isSetOwner()Returns true if field owner is set (has been assigned a value) and false otherwise -
setOwnerIsSet
public void setOwnerIsSet(boolean value) -
getCreateTime
public int getCreateTime() -
setCreateTime
-
unsetCreateTime
public void unsetCreateTime() -
isSetCreateTime
public boolean isSetCreateTime()Returns true if field createTime is set (has been assigned a value) and false otherwise -
setCreateTimeIsSet
public void setCreateTimeIsSet(boolean value) -
getLastAccessTime
public int getLastAccessTime() -
setLastAccessTime
-
unsetLastAccessTime
public void unsetLastAccessTime() -
isSetLastAccessTime
public boolean isSetLastAccessTime()Returns true if field lastAccessTime is set (has been assigned a value) and false otherwise -
setLastAccessTimeIsSet
public void setLastAccessTimeIsSet(boolean value) -
getRetention
public int getRetention() -
setRetention
-
unsetRetention
public void unsetRetention() -
isSetRetention
public boolean isSetRetention()Returns true if field retention is set (has been assigned a value) and false otherwise -
setRetentionIsSet
public void setRetentionIsSet(boolean value) -
getSd
-
setSd
-
unsetSd
public void unsetSd() -
isSetSd
public boolean isSetSd()Returns true if field sd is set (has been assigned a value) and false otherwise -
setSdIsSet
public void setSdIsSet(boolean value) -
getPartitionKeysSize
public int getPartitionKeysSize() -
getPartitionKeysIterator
-
addToPartitionKeys
-
getPartitionKeys
-
setPartitionKeys
-
unsetPartitionKeys
public void unsetPartitionKeys() -
isSetPartitionKeys
public boolean isSetPartitionKeys()Returns true if field partitionKeys is set (has been assigned a value) and false otherwise -
setPartitionKeysIsSet
public void setPartitionKeysIsSet(boolean value) -
getParametersSize
public int getParametersSize() -
putToParameters
-
getParameters
-
setParameters
-
unsetParameters
public void unsetParameters() -
isSetParameters
public boolean isSetParameters()Returns true if field parameters is set (has been assigned a value) and false otherwise -
setParametersIsSet
public void setParametersIsSet(boolean value) -
getViewOriginalText
-
setViewOriginalText
-
unsetViewOriginalText
public void unsetViewOriginalText() -
isSetViewOriginalText
public boolean isSetViewOriginalText()Returns true if field viewOriginalText is set (has been assigned a value) and false otherwise -
setViewOriginalTextIsSet
public void setViewOriginalTextIsSet(boolean value) -
getViewExpandedText
-
setViewExpandedText
-
unsetViewExpandedText
public void unsetViewExpandedText() -
isSetViewExpandedText
public boolean isSetViewExpandedText()Returns true if field viewExpandedText is set (has been assigned a value) and false otherwise -
setViewExpandedTextIsSet
public void setViewExpandedTextIsSet(boolean value) -
getTableType
-
setTableType
-
unsetTableType
public void unsetTableType() -
isSetTableType
public boolean isSetTableType()Returns true if field tableType is set (has been assigned a value) and false otherwise -
setTableTypeIsSet
public void setTableTypeIsSet(boolean value) -
getPrivileges
-
setPrivileges
-
unsetPrivileges
public void unsetPrivileges() -
isSetPrivileges
public boolean isSetPrivileges()Returns true if field privileges is set (has been assigned a value) and false otherwise -
setPrivilegesIsSet
public void setPrivilegesIsSet(boolean value) -
isTemporary
public boolean isTemporary() -
setTemporary
-
unsetTemporary
public void unsetTemporary() -
isSetTemporary
public boolean isSetTemporary()Returns true if field temporary is set (has been assigned a value) and false otherwise -
setTemporaryIsSet
public void setTemporaryIsSet(boolean value) -
isRewriteEnabled
public boolean isRewriteEnabled() -
setRewriteEnabled
-
unsetRewriteEnabled
public void unsetRewriteEnabled() -
isSetRewriteEnabled
public boolean isSetRewriteEnabled()Returns true if field rewriteEnabled is set (has been assigned a value) and false otherwise -
setRewriteEnabledIsSet
public void setRewriteEnabledIsSet(boolean value) -
getCreationMetadata
-
setCreationMetadata
-
unsetCreationMetadata
public void unsetCreationMetadata() -
isSetCreationMetadata
public boolean isSetCreationMetadata()Returns true if field creationMetadata is set (has been assigned a value) and false otherwise -
setCreationMetadataIsSet
public void setCreationMetadataIsSet(boolean value) -
getCatName
-
setCatName
-
unsetCatName
public void unsetCatName() -
isSetCatName
public boolean isSetCatName()Returns true if field catName is set (has been assigned a value) and false otherwise -
setCatNameIsSet
public void setCatNameIsSet(boolean value) -
getOwnerType
- See Also:
-
setOwnerType
- See Also:
-
unsetOwnerType
public void unsetOwnerType() -
isSetOwnerType
public boolean isSetOwnerType()Returns true if field ownerType is set (has been assigned a value) and false otherwise -
setOwnerTypeIsSet
public void setOwnerTypeIsSet(boolean value) -
getWriteId
public long getWriteId() -
setWriteId
-
unsetWriteId
public void unsetWriteId() -
isSetWriteId
public boolean isSetWriteId()Returns true if field writeId is set (has been assigned a value) and false otherwise -
setWriteIdIsSet
public void setWriteIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Table>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Table,Table._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-