public static class PeerInterface_thrift.commit_peer_thrift_args extends java.lang.Object implements org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PeerInterface_thrift.commit_peer_thrift_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
PeerInterface_thrift.commit_peer_thrift_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
long |
commitTS |
static java.util.Map<PeerInterface_thrift.commit_peer_thrift_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
startTS |
long |
transactionId |
| Constructor and Description |
|---|
commit_peer_thrift_args() |
commit_peer_thrift_args(long startTS,
long commitTS,
long transactionId) |
commit_peer_thrift_args(PeerInterface_thrift.commit_peer_thrift_args other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(PeerInterface_thrift.commit_peer_thrift_args other) |
PeerInterface_thrift.commit_peer_thrift_args |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PeerInterface_thrift.commit_peer_thrift_args that) |
PeerInterface_thrift.commit_peer_thrift_args._Fields |
fieldForId(int fieldId) |
long |
getCommitTS() |
java.lang.Object |
getFieldValue(PeerInterface_thrift.commit_peer_thrift_args._Fields field) |
long |
getStartTS() |
long |
getTransactionId() |
int |
hashCode() |
boolean |
isSet(PeerInterface_thrift.commit_peer_thrift_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCommitTS()
Returns true if field commitTS is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartTS()
Returns true if field startTS is set (has been assigned a value) and false otherwise
|
boolean |
isSetTransactionId()
Returns true if field transactionId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PeerInterface_thrift.commit_peer_thrift_args |
setCommitTS(long commitTS) |
void |
setCommitTSIsSet(boolean value) |
void |
setFieldValue(PeerInterface_thrift.commit_peer_thrift_args._Fields field,
java.lang.Object value) |
PeerInterface_thrift.commit_peer_thrift_args |
setStartTS(long startTS) |
void |
setStartTSIsSet(boolean value) |
PeerInterface_thrift.commit_peer_thrift_args |
setTransactionId(long transactionId) |
void |
setTransactionIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCommitTS() |
void |
unsetStartTS() |
void |
unsetTransactionId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long startTS
public long commitTS
public long transactionId
public static final java.util.Map<PeerInterface_thrift.commit_peer_thrift_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public commit_peer_thrift_args()
public commit_peer_thrift_args(long startTS,
long commitTS,
long transactionId)
public commit_peer_thrift_args(PeerInterface_thrift.commit_peer_thrift_args other)
public PeerInterface_thrift.commit_peer_thrift_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public long getStartTS()
public PeerInterface_thrift.commit_peer_thrift_args setStartTS(long startTS)
public void unsetStartTS()
public boolean isSetStartTS()
public void setStartTSIsSet(boolean value)
public long getCommitTS()
public PeerInterface_thrift.commit_peer_thrift_args setCommitTS(long commitTS)
public void unsetCommitTS()
public boolean isSetCommitTS()
public void setCommitTSIsSet(boolean value)
public long getTransactionId()
public PeerInterface_thrift.commit_peer_thrift_args setTransactionId(long transactionId)
public void unsetTransactionId()
public boolean isSetTransactionId()
public void setTransactionIdIsSet(boolean value)
public void setFieldValue(PeerInterface_thrift.commit_peer_thrift_args._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public java.lang.Object getFieldValue(PeerInterface_thrift.commit_peer_thrift_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public boolean isSet(PeerInterface_thrift.commit_peer_thrift_args._Fields field)
isSet in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(PeerInterface_thrift.commit_peer_thrift_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(PeerInterface_thrift.commit_peer_thrift_args other)
compareTo in interface java.lang.Comparable<PeerInterface_thrift.commit_peer_thrift_args>public PeerInterface_thrift.commit_peer_thrift_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._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<PeerInterface_thrift.commit_peer_thrift_args,PeerInterface_thrift.commit_peer_thrift_args._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.TException