Package io.trino.hive.thrift.metastore
Class Partition
java.lang.Object
io.trino.hive.thrift.metastore.Partition
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Partition>,org.apache.thrift.TBase<Partition,,Partition._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class Partition
extends Object
implements org.apache.thrift.TBase<Partition,Partition._Fields>, Serializable, Cloneable, Comparable<Partition>
- 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<Partition._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToValues(String elem) voidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intgetFieldValue(Partition._Fields field) intintgetSd()intlonginthashCode()booleanisSet(Partition._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 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 parameters is set (has been assigned a value) and false otherwisebooleanReturns true if field privileges 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 values is set (has been assigned a value) and false otherwisebooleanReturns true if field writeId is set (has been assigned a value) and false otherwisevoidputToParameters(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) setCreateTime(int createTime) voidsetCreateTimeIsSet(boolean value) voidsetDbNameIsSet(boolean value) voidsetFieldValue(Partition._Fields field, Object value) setLastAccessTime(int lastAccessTime) voidsetLastAccessTimeIsSet(boolean value) setParameters(Map<String, String> parameters) voidsetParametersIsSet(boolean value) setPrivileges(PrincipalPrivilegeSet privileges) voidsetPrivilegesIsSet(boolean value) voidsetSdIsSet(boolean value) setTableName(String tableName) voidsetTableNameIsSet(boolean value) voidsetValuesIsSet(boolean value) setWriteId(long writeId) voidsetWriteIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidunsetSd()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Partition
public Partition() -
Partition
-
Partition
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Partition,Partition._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Partition,Partition._Fields>
-
getValuesSize
public int getValuesSize() -
getValuesIterator
-
addToValues
-
getValues
-
setValues
-
unsetValues
public void unsetValues() -
isSetValues
public boolean isSetValues()Returns true if field values is set (has been assigned a value) and false otherwise -
setValuesIsSet
public void setValuesIsSet(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) -
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) -
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) -
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) -
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) -
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) -
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) -
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<Partition,Partition._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Partition,Partition._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<Partition,Partition._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Partition>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Partition,Partition._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
-