Package io.trino.hive.thrift.metastore
Class PartitionWithoutSD
java.lang.Object
io.trino.hive.thrift.metastore.PartitionWithoutSD
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PartitionWithoutSD>,org.apache.thrift.TBase<PartitionWithoutSD,,PartitionWithoutSD._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class PartitionWithoutSD
extends Object
implements org.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>, Serializable, Cloneable, Comparable<PartitionWithoutSD>
- 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<PartitionWithoutSD._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToValues(String elem) voidclear()intcompareTo(PartitionWithoutSD other) deepCopy()booleanequals(PartitionWithoutSD that) booleanfieldForId(int fieldId) intintintintinthashCode()booleanisSet(PartitionWithoutSD._Fields field) Returns true if field corresponding to fieldID 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 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 otherwisebooleanReturns true if field relativePath is set (has been assigned a value) and false otherwisebooleanReturns true if field values is set (has been assigned a value) and false otherwisevoidputToParameters(String key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCreateTime(int createTime) voidsetCreateTimeIsSet(boolean value) voidsetFieldValue(PartitionWithoutSD._Fields field, Object value) setLastAccessTime(int lastAccessTime) voidsetLastAccessTimeIsSet(boolean value) setParameters(Map<String, String> parameters) voidsetParametersIsSet(boolean value) setPrivileges(PrincipalPrivilegeSet privileges) voidsetPrivilegesIsSet(boolean value) setRelativePath(String relativePath) voidsetRelativePathIsSet(boolean value) voidsetValuesIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<PartitionWithoutSD._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PartitionWithoutSD
public PartitionWithoutSD() -
PartitionWithoutSD
-
PartitionWithoutSD
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._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) -
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) -
getRelativePath
-
setRelativePath
-
unsetRelativePath
public void unsetRelativePath() -
isSetRelativePath
public boolean isSetRelativePath()Returns true if field relativePath is set (has been assigned a value) and false otherwise -
setRelativePathIsSet
public void setRelativePathIsSet(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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._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<PartitionWithoutSD,PartitionWithoutSD._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PartitionWithoutSD>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PartitionWithoutSD,PartitionWithoutSD._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
-