public static class TTransactionServer.commitOrThrow_args extends Object implements org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TTransactionServer.commitOrThrow_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TTransactionServer.commitOrThrow_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
txId |
long |
wp |
Constructor and Description |
---|
commitOrThrow_args() |
commitOrThrow_args(long txId,
long wp) |
commitOrThrow_args(TTransactionServer.commitOrThrow_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TTransactionServer.commitOrThrow_args other) |
TTransactionServer.commitOrThrow_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TTransactionServer.commitOrThrow_args that) |
TTransactionServer.commitOrThrow_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TTransactionServer.commitOrThrow_args._Fields field) |
long |
getTxId() |
long |
getWp() |
int |
hashCode() |
boolean |
isSet(TTransactionServer.commitOrThrow_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxId()
Returns true if field txId is set (has been assigned a value) and false otherwise
|
boolean |
isSetWp()
Returns true if field wp is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TTransactionServer.commitOrThrow_args._Fields field,
Object value) |
TTransactionServer.commitOrThrow_args |
setTxId(long txId) |
void |
setTxIdIsSet(boolean value) |
TTransactionServer.commitOrThrow_args |
setWp(long wp) |
void |
setWpIsSet(boolean value) |
String |
toString() |
void |
unsetTxId() |
void |
unsetWp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long txId
public long wp
public static final Map<TTransactionServer.commitOrThrow_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public commitOrThrow_args()
public commitOrThrow_args(long txId, long wp)
public commitOrThrow_args(TTransactionServer.commitOrThrow_args other)
public TTransactionServer.commitOrThrow_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public long getTxId()
public TTransactionServer.commitOrThrow_args setTxId(long txId)
public void unsetTxId()
public boolean isSetTxId()
public void setTxIdIsSet(boolean value)
public long getWp()
public TTransactionServer.commitOrThrow_args setWp(long wp)
public void unsetWp()
public boolean isSetWp()
public void setWpIsSet(boolean value)
public void setFieldValue(TTransactionServer.commitOrThrow_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public Object getFieldValue(TTransactionServer.commitOrThrow_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public boolean isSet(TTransactionServer.commitOrThrow_args._Fields field)
isSet
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public boolean equals(TTransactionServer.commitOrThrow_args that)
public int compareTo(TTransactionServer.commitOrThrow_args other)
compareTo
in interface Comparable<TTransactionServer.commitOrThrow_args>
public TTransactionServer.commitOrThrow_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TTransactionServer.commitOrThrow_args,TTransactionServer.commitOrThrow_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2018 The Apache Software Foundation. All rights reserved.