public static class TTransactionServer.commitTx_result extends Object implements org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TTransactionServer.commitTx_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TTransactionNotInProgressException |
e |
static Map<TTransactionServer.commitTx_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TBoolean |
success |
Constructor and Description |
---|
TTransactionServer.commitTx_result() |
TTransactionServer.commitTx_result(TBoolean success,
TTransactionNotInProgressException e) |
TTransactionServer.commitTx_result(TTransactionServer.commitTx_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TTransactionServer.commitTx_result other) |
TTransactionServer.commitTx_result |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TTransactionServer.commitTx_result that) |
TTransactionServer.commitTx_result._Fields |
fieldForId(int fieldId) |
TTransactionNotInProgressException |
getE() |
Object |
getFieldValue(TTransactionServer.commitTx_result._Fields field) |
TBoolean |
getSuccess() |
int |
hashCode() |
boolean |
isSet(TTransactionServer.commitTx_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetE()
Returns true if field e is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TTransactionServer.commitTx_result |
setE(TTransactionNotInProgressException e) |
void |
setEIsSet(boolean value) |
void |
setFieldValue(TTransactionServer.commitTx_result._Fields field,
Object value) |
TTransactionServer.commitTx_result |
setSuccess(TBoolean success) |
void |
setSuccessIsSet(boolean value) |
String |
toString() |
void |
unsetE() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TBoolean success
public TTransactionNotInProgressException e
public static final Map<TTransactionServer.commitTx_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TTransactionServer.commitTx_result()
public TTransactionServer.commitTx_result(TBoolean success, TTransactionNotInProgressException e)
public TTransactionServer.commitTx_result(TTransactionServer.commitTx_result other)
public TTransactionServer.commitTx_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public TBoolean getSuccess()
public TTransactionServer.commitTx_result setSuccess(TBoolean success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public TTransactionNotInProgressException getE()
public TTransactionServer.commitTx_result setE(TTransactionNotInProgressException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public void setFieldValue(TTransactionServer.commitTx_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public Object getFieldValue(TTransactionServer.commitTx_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public boolean isSet(TTransactionServer.commitTx_result._Fields field)
isSet
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public boolean equals(TTransactionServer.commitTx_result that)
public int compareTo(TTransactionServer.commitTx_result other)
compareTo
in interface Comparable<TTransactionServer.commitTx_result>
public TTransactionServer.commitTx_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTransactionServer.commitTx_result,TTransactionServer.commitTx_result._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.commitTx_result,TTransactionServer.commitTx_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.