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 |
---|
commitTx_result() |
commitTx_result(TBoolean success,
TTransactionNotInProgressException e) |
commitTx_result(TTransactionServer.commitTx_result other)
Performs a deep copy on other.
|
public TBoolean success
public TTransactionNotInProgressException e
public static final Map<TTransactionServer.commitTx_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public commitTx_result()
public commitTx_result(TBoolean success, TTransactionNotInProgressException e)
public 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 © 2018 The Apache Software Foundation. All rights reserved.