public class HeartbeatTxnRangeResponse extends Object implements org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
HeartbeatTxnRangeResponse._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<HeartbeatTxnRangeResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HeartbeatTxnRangeResponse() |
HeartbeatTxnRangeResponse(HeartbeatTxnRangeResponse other)
Performs a deep copy on other.
|
HeartbeatTxnRangeResponse(Set<Long> aborted,
Set<Long> nosuch) |
Modifier and Type | Method and Description |
---|---|
void |
addToAborted(long elem) |
void |
addToNosuch(long elem) |
void |
clear() |
int |
compareTo(HeartbeatTxnRangeResponse other) |
HeartbeatTxnRangeResponse |
deepCopy() |
boolean |
equals(HeartbeatTxnRangeResponse that) |
boolean |
equals(Object that) |
HeartbeatTxnRangeResponse._Fields |
fieldForId(int fieldId) |
Set<Long> |
getAborted() |
Iterator<Long> |
getAbortedIterator() |
int |
getAbortedSize() |
Object |
getFieldValue(HeartbeatTxnRangeResponse._Fields field) |
Set<Long> |
getNosuch() |
Iterator<Long> |
getNosuchIterator() |
int |
getNosuchSize() |
int |
hashCode() |
boolean |
isSet(HeartbeatTxnRangeResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAborted()
Returns true if field aborted is set (has been assigned a value) and false otherwise
|
boolean |
isSetNosuch()
Returns true if field nosuch is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setAborted(Set<Long> aborted) |
void |
setAbortedIsSet(boolean value) |
void |
setFieldValue(HeartbeatTxnRangeResponse._Fields field,
Object value) |
void |
setNosuch(Set<Long> nosuch) |
void |
setNosuchIsSet(boolean value) |
String |
toString() |
void |
unsetAborted() |
void |
unsetNosuch() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<HeartbeatTxnRangeResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HeartbeatTxnRangeResponse()
public HeartbeatTxnRangeResponse(HeartbeatTxnRangeResponse other)
public HeartbeatTxnRangeResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public int getAbortedSize()
public void addToAborted(long elem)
public void unsetAborted()
public boolean isSetAborted()
public void setAbortedIsSet(boolean value)
public int getNosuchSize()
public void addToNosuch(long elem)
public void unsetNosuch()
public boolean isSetNosuch()
public void setNosuchIsSet(boolean value)
public void setFieldValue(HeartbeatTxnRangeResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public Object getFieldValue(HeartbeatTxnRangeResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public boolean isSet(HeartbeatTxnRangeResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public boolean equals(HeartbeatTxnRangeResponse that)
public int compareTo(HeartbeatTxnRangeResponse other)
compareTo
in interface Comparable<HeartbeatTxnRangeResponse>
public HeartbeatTxnRangeResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._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<HeartbeatTxnRangeResponse,HeartbeatTxnRangeResponse._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.