@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class BasicTxnInfo extends java.lang.Object implements org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<BasicTxnInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicTxnInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<BasicTxnInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
BasicTxnInfo() |
BasicTxnInfo(BasicTxnInfo other)
Performs a deep copy on other.
|
BasicTxnInfo(boolean isnull) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(BasicTxnInfo other) |
BasicTxnInfo |
deepCopy() |
boolean |
equals(BasicTxnInfo that) |
boolean |
equals(java.lang.Object that) |
BasicTxnInfo._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDbname() |
java.lang.Object |
getFieldValue(BasicTxnInfo._Fields field) |
java.lang.String |
getPartitionname() |
java.lang.String |
getTablename() |
long |
getTime() |
long |
getTxnid() |
int |
hashCode() |
boolean |
isIsnull() |
boolean |
isSet(BasicTxnInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbname()
Returns true if field dbname is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsnull()
Returns true if field isnull is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionname()
Returns true if field partitionname is set (has been assigned a value) and false otherwise
|
boolean |
isSetTablename()
Returns true if field tablename is set (has been assigned a value) and false otherwise
|
boolean |
isSetTime()
Returns true if field time is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnid()
Returns true if field txnid is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbname(java.lang.String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(BasicTxnInfo._Fields field,
java.lang.Object value) |
void |
setIsnull(boolean isnull) |
void |
setIsnullIsSet(boolean value) |
void |
setPartitionname(java.lang.String partitionname) |
void |
setPartitionnameIsSet(boolean value) |
void |
setTablename(java.lang.String tablename) |
void |
setTablenameIsSet(boolean value) |
void |
setTime(long time) |
void |
setTimeIsSet(boolean value) |
void |
setTxnid(long txnid) |
void |
setTxnidIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDbname() |
void |
unsetIsnull() |
void |
unsetPartitionname() |
void |
unsetTablename() |
void |
unsetTime() |
void |
unsetTxnid() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<BasicTxnInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BasicTxnInfo()
public BasicTxnInfo(boolean isnull)
public BasicTxnInfo(BasicTxnInfo other)
public BasicTxnInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public boolean isIsnull()
public void setIsnull(boolean isnull)
public void unsetIsnull()
public boolean isSetIsnull()
public void setIsnullIsSet(boolean value)
public long getTime()
public void setTime(long time)
public void unsetTime()
public boolean isSetTime()
public void setTimeIsSet(boolean value)
public long getTxnid()
public void setTxnid(long txnid)
public void unsetTxnid()
public boolean isSetTxnid()
public void setTxnidIsSet(boolean value)
public java.lang.String getDbname()
public void setDbname(java.lang.String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public java.lang.String getTablename()
public void setTablename(java.lang.String tablename)
public void unsetTablename()
public boolean isSetTablename()
public void setTablenameIsSet(boolean value)
public java.lang.String getPartitionname()
public void setPartitionname(java.lang.String partitionname)
public void unsetPartitionname()
public boolean isSetPartitionname()
public void setPartitionnameIsSet(boolean value)
public void setFieldValue(BasicTxnInfo._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public java.lang.Object getFieldValue(BasicTxnInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public boolean isSet(BasicTxnInfo._Fields field)
isSet in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(BasicTxnInfo that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(BasicTxnInfo other)
compareTo in interface java.lang.Comparable<BasicTxnInfo>public BasicTxnInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<BasicTxnInfo,BasicTxnInfo._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.