Package io.trino.hive.thrift.metastore
Class TxnToWriteId
java.lang.Object
io.trino.hive.thrift.metastore.TxnToWriteId
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TxnToWriteId>,org.apache.thrift.TBase<TxnToWriteId,,TxnToWriteId._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class TxnToWriteId
extends Object
implements org.apache.thrift.TBase<TxnToWriteId,TxnToWriteId._Fields>, Serializable, Cloneable, Comparable<TxnToWriteId>
- 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<TxnToWriteId._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionTxnToWriteId(long txnId, long writeId) TxnToWriteId(TxnToWriteId other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TxnToWriteId other) deepCopy()booleanequals(TxnToWriteId that) booleanfieldForId(int fieldId) longgetTxnId()longinthashCode()booleanisSet(TxnToWriteId._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field txnId is set (has been assigned a value) and false otherwisebooleanReturns true if field writeId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(TxnToWriteId._Fields field, Object value) setTxnId(long txnId) voidsetTxnIdIsSet(boolean value) setWriteId(long writeId) voidsetWriteIdIsSet(boolean value) toString()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
TxnToWriteId
public TxnToWriteId() -
TxnToWriteId
public TxnToWriteId(long txnId, long writeId) -
TxnToWriteId
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TxnToWriteId,TxnToWriteId._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TxnToWriteId,TxnToWriteId._Fields>
-
getTxnId
public long getTxnId() -
setTxnId
-
unsetTxnId
public void unsetTxnId() -
isSetTxnId
public boolean isSetTxnId()Returns true if field txnId is set (has been assigned a value) and false otherwise -
setTxnIdIsSet
public void setTxnIdIsSet(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<TxnToWriteId,TxnToWriteId._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TxnToWriteId,TxnToWriteId._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<TxnToWriteId,TxnToWriteId._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TxnToWriteId>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TxnToWriteId,TxnToWriteId._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
-