@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class AbortTxnRequest extends Object implements org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>, Serializable, Cloneable, Comparable<AbortTxnRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbortTxnRequest._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<AbortTxnRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AbortTxnRequest() |
AbortTxnRequest(AbortTxnRequest other)
Performs a deep copy on other.
|
AbortTxnRequest(long txnid) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(AbortTxnRequest other) |
AbortTxnRequest |
deepCopy() |
boolean |
equals(AbortTxnRequest that) |
boolean |
equals(Object that) |
AbortTxnRequest._Fields |
fieldForId(int fieldId) |
long |
getErrorCode() |
Object |
getFieldValue(AbortTxnRequest._Fields field) |
String |
getReplPolicy() |
TxnType |
getTxn_type() |
long |
getTxnid() |
int |
hashCode() |
boolean |
isSet(AbortTxnRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrorCode()
Returns true if field errorCode is set (has been assigned a value) and false otherwise
|
boolean |
isSetReplPolicy()
Returns true if field replPolicy is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxn_type()
Returns true if field txn_type is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnid()
Returns true if field txnid is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setErrorCode(long errorCode) |
void |
setErrorCodeIsSet(boolean value) |
void |
setFieldValue(AbortTxnRequest._Fields field,
Object value) |
void |
setReplPolicy(String replPolicy) |
void |
setReplPolicyIsSet(boolean value) |
void |
setTxn_type(TxnType txn_type) |
void |
setTxn_typeIsSet(boolean value) |
void |
setTxnid(long txnid) |
void |
setTxnidIsSet(boolean value) |
String |
toString() |
void |
unsetErrorCode() |
void |
unsetReplPolicy() |
void |
unsetTxn_type() |
void |
unsetTxnid() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<AbortTxnRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AbortTxnRequest()
public AbortTxnRequest(long txnid)
public AbortTxnRequest(AbortTxnRequest other)
public AbortTxnRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public long getTxnid()
public void setTxnid(long txnid)
public void unsetTxnid()
public boolean isSetTxnid()
public void setTxnidIsSet(boolean value)
public String getReplPolicy()
public void setReplPolicy(String replPolicy)
public void unsetReplPolicy()
public boolean isSetReplPolicy()
public void setReplPolicyIsSet(boolean value)
public void unsetTxn_type()
public boolean isSetTxn_type()
public void setTxn_typeIsSet(boolean value)
public long getErrorCode()
public void setErrorCode(long errorCode)
public void unsetErrorCode()
public boolean isSetErrorCode()
public void setErrorCodeIsSet(boolean value)
public void setFieldValue(AbortTxnRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public Object getFieldValue(AbortTxnRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public boolean isSet(AbortTxnRequest._Fields field)
isSet in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public boolean equals(AbortTxnRequest that)
public int compareTo(AbortTxnRequest other)
compareTo in interface Comparable<AbortTxnRequest>public AbortTxnRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<AbortTxnRequest,AbortTxnRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.