@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class AbortTxnsRequest extends Object implements org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>, Serializable, Cloneable, Comparable<AbortTxnsRequest>
Modifier and Type | Class and Description |
---|---|
static class |
AbortTxnsRequest._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<AbortTxnsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
AbortTxnsRequest() |
AbortTxnsRequest(AbortTxnsRequest other)
Performs a deep copy on other.
|
AbortTxnsRequest(List<Long> txn_ids) |
Modifier and Type | Method and Description |
---|---|
void |
addToTxn_ids(long elem) |
void |
clear() |
int |
compareTo(AbortTxnsRequest other) |
AbortTxnsRequest |
deepCopy() |
boolean |
equals(AbortTxnsRequest that) |
boolean |
equals(Object that) |
AbortTxnsRequest._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(AbortTxnsRequest._Fields field) |
List<Long> |
getTxn_ids() |
Iterator<Long> |
getTxn_idsIterator() |
int |
getTxn_idsSize() |
int |
hashCode() |
boolean |
isSet(AbortTxnsRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxn_ids()
Returns true if field txn_ids is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(AbortTxnsRequest._Fields field,
Object value) |
void |
setTxn_ids(List<Long> txn_ids) |
void |
setTxn_idsIsSet(boolean value) |
String |
toString() |
void |
unsetTxn_ids() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<AbortTxnsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AbortTxnsRequest()
public AbortTxnsRequest(AbortTxnsRequest other)
public AbortTxnsRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public int getTxn_idsSize()
public void addToTxn_ids(long elem)
public void unsetTxn_ids()
public boolean isSetTxn_ids()
public void setTxn_idsIsSet(boolean value)
public void setFieldValue(AbortTxnsRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public Object getFieldValue(AbortTxnsRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public boolean isSet(AbortTxnsRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public boolean equals(AbortTxnsRequest that)
public int compareTo(AbortTxnsRequest other)
compareTo
in interface Comparable<AbortTxnsRequest>
public AbortTxnsRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AbortTxnsRequest,AbortTxnsRequest._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<AbortTxnsRequest,AbortTxnsRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.