Package io.trino.hive.thrift.metastore
Class LockComponent
java.lang.Object
io.trino.hive.thrift.metastore.LockComponent
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LockComponent>,org.apache.thrift.TBase<LockComponent,,LockComponent._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class LockComponent
extends Object
implements org.apache.thrift.TBase<LockComponent,LockComponent._Fields>, Serializable, Cloneable, Comparable<LockComponent>
- 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<LockComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionLockComponent(LockComponent other) Performs a deep copy on other.LockComponent(LockType type, LockLevel level, String dbname) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(LockComponent other) deepCopy()booleanequals(LockComponent that) booleanfieldForId(int fieldId) getLevel()getType()inthashCode()booleanbooleanbooleanisSet(LockComponent._Fields field) Returns true if field corresponding to fieldID 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 isDynamicPartitionWrite is set (has been assigned a value) and false otherwisebooleanReturns true if field isTransactional is set (has been assigned a value) and false otherwisebooleanReturns true if field level is set (has been assigned a value) and false otherwisebooleanReturns true if field operationType is set (has been assigned a value) and false otherwisebooleanReturns true if field partitionname 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 type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetDbnameIsSet(boolean value) voidsetFieldValue(LockComponent._Fields field, Object value) setIsDynamicPartitionWrite(boolean isDynamicPartitionWrite) voidsetIsDynamicPartitionWriteIsSet(boolean value) setIsTransactional(boolean isTransactional) voidsetIsTransactionalIsSet(boolean value) voidsetLevelIsSet(boolean value) setOperationType(DataOperationType operationType) voidsetOperationTypeIsSet(boolean value) setPartitionname(String partitionname) voidsetPartitionnameIsSet(boolean value) setTablename(String tablename) voidsetTablenameIsSet(boolean value) voidsetTypeIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<LockComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
LockComponent
public LockComponent() -
LockComponent
-
LockComponent
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<LockComponent,LockComponent._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<LockComponent,LockComponent._Fields>
-
getType
- See Also:
-
setType
- See Also:
-
unsetType
public void unsetType() -
isSetType
public boolean isSetType()Returns true if field type is set (has been assigned a value) and false otherwise -
setTypeIsSet
public void setTypeIsSet(boolean value) -
getLevel
- See Also:
-
setLevel
- See Also:
-
unsetLevel
public void unsetLevel() -
isSetLevel
public boolean isSetLevel()Returns true if field level is set (has been assigned a value) and false otherwise -
setLevelIsSet
public void setLevelIsSet(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) -
getPartitionname
-
setPartitionname
-
unsetPartitionname
public void unsetPartitionname() -
isSetPartitionname
public boolean isSetPartitionname()Returns true if field partitionname is set (has been assigned a value) and false otherwise -
setPartitionnameIsSet
public void setPartitionnameIsSet(boolean value) -
getOperationType
- See Also:
-
setOperationType
- See Also:
-
unsetOperationType
public void unsetOperationType() -
isSetOperationType
public boolean isSetOperationType()Returns true if field operationType is set (has been assigned a value) and false otherwise -
setOperationTypeIsSet
public void setOperationTypeIsSet(boolean value) -
isIsTransactional
public boolean isIsTransactional() -
setIsTransactional
-
unsetIsTransactional
public void unsetIsTransactional() -
isSetIsTransactional
public boolean isSetIsTransactional()Returns true if field isTransactional is set (has been assigned a value) and false otherwise -
setIsTransactionalIsSet
public void setIsTransactionalIsSet(boolean value) -
isIsDynamicPartitionWrite
public boolean isIsDynamicPartitionWrite() -
setIsDynamicPartitionWrite
-
unsetIsDynamicPartitionWrite
public void unsetIsDynamicPartitionWrite() -
isSetIsDynamicPartitionWrite
public boolean isSetIsDynamicPartitionWrite()Returns true if field isDynamicPartitionWrite is set (has been assigned a value) and false otherwise -
setIsDynamicPartitionWriteIsSet
public void setIsDynamicPartitionWriteIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<LockComponent,LockComponent._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<LockComponent,LockComponent._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<LockComponent,LockComponent._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<LockComponent>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<LockComponent,LockComponent._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
-