Package io.trino.hive.thrift.metastore
Class BasicTxnInfo
java.lang.Object
io.trino.hive.thrift.metastore.BasicTxnInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<BasicTxnInfo>,org.apache.thrift.TBase<BasicTxnInfo,,BasicTxnInfo._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class BasicTxnInfo
extends Object
implements org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>, Serializable, Cloneable, Comparable<BasicTxnInfo>
- 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<BasicTxnInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionBasicTxnInfo(boolean isnull) BasicTxnInfo(BasicTxnInfo other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(BasicTxnInfo other) deepCopy()booleanequals(BasicTxnInfo that) booleanfieldForId(int fieldId) longgetTime()longgetTxnid()inthashCode()booleanisIsnull()booleanisSet(BasicTxnInfo._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 isnull 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 time is set (has been assigned a value) and false otherwisebooleanReturns true if field txnid is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetDbnameIsSet(boolean value) voidsetFieldValue(BasicTxnInfo._Fields field, Object value) setIsnull(boolean isnull) voidsetIsnullIsSet(boolean value) setPartitionname(String partitionname) voidsetPartitionnameIsSet(boolean value) setTablename(String tablename) voidsetTablenameIsSet(boolean value) setTime(long time) voidsetTimeIsSet(boolean value) setTxnid(long txnid) voidsetTxnidIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
BasicTxnInfo
public BasicTxnInfo() -
BasicTxnInfo
public BasicTxnInfo(boolean isnull) -
BasicTxnInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>
-
isIsnull
public boolean isIsnull() -
setIsnull
-
unsetIsnull
public void unsetIsnull() -
isSetIsnull
public boolean isSetIsnull()Returns true if field isnull is set (has been assigned a value) and false otherwise -
setIsnullIsSet
public void setIsnullIsSet(boolean value) -
getTime
public long getTime() -
setTime
-
unsetTime
public void unsetTime() -
isSetTime
public boolean isSetTime()Returns true if field time is set (has been assigned a value) and false otherwise -
setTimeIsSet
public void setTimeIsSet(boolean value) -
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) -
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._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<BasicTxnInfo,BasicTxnInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<BasicTxnInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._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
-