public static class TTransactionServer.canCommitOrThrow_result extends Object implements org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TTransactionServer.canCommitOrThrow_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TTransactionConflictException |
c |
TTransactionNotInProgressException |
e |
TGenericException |
g |
static Map<TTransactionServer.canCommitOrThrow_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
canCommitOrThrow_result() |
canCommitOrThrow_result(TTransactionNotInProgressException e,
TTransactionConflictException c,
TGenericException g) |
canCommitOrThrow_result(TTransactionServer.canCommitOrThrow_result other)
Performs a deep copy on other.
|
public TTransactionNotInProgressException e
public TTransactionConflictException c
public TGenericException g
public static final Map<TTransactionServer.canCommitOrThrow_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public canCommitOrThrow_result()
public canCommitOrThrow_result(TTransactionNotInProgressException e, TTransactionConflictException c, TGenericException g)
public canCommitOrThrow_result(TTransactionServer.canCommitOrThrow_result other)
public TTransactionServer.canCommitOrThrow_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public TTransactionNotInProgressException getE()
public TTransactionServer.canCommitOrThrow_result setE(TTransactionNotInProgressException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public TTransactionConflictException getC()
public TTransactionServer.canCommitOrThrow_result setC(TTransactionConflictException c)
public void unsetC()
public boolean isSetC()
public void setCIsSet(boolean value)
public TGenericException getG()
public TTransactionServer.canCommitOrThrow_result setG(TGenericException g)
public void unsetG()
public boolean isSetG()
public void setGIsSet(boolean value)
public void setFieldValue(TTransactionServer.canCommitOrThrow_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public Object getFieldValue(TTransactionServer.canCommitOrThrow_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public boolean isSet(TTransactionServer.canCommitOrThrow_result._Fields field)
isSet
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public boolean equals(TTransactionServer.canCommitOrThrow_result that)
public int compareTo(TTransactionServer.canCommitOrThrow_result other)
compareTo
in interface Comparable<TTransactionServer.canCommitOrThrow_result>
public TTransactionServer.canCommitOrThrow_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TTransactionServer.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_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.canCommitOrThrow_result,TTransactionServer.canCommitOrThrow_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.