public class GetOpenTxnsResponse extends Object implements org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
GetOpenTxnsResponse._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<GetOpenTxnsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetOpenTxnsResponse() |
GetOpenTxnsResponse(GetOpenTxnsResponse other)
Performs a deep copy on other.
|
GetOpenTxnsResponse(long txn_high_water_mark,
Set<Long> open_txns) |
Modifier and Type | Method and Description |
---|---|
void |
addToOpen_txns(long elem) |
void |
clear() |
int |
compareTo(GetOpenTxnsResponse other) |
GetOpenTxnsResponse |
deepCopy() |
boolean |
equals(GetOpenTxnsResponse that) |
boolean |
equals(Object that) |
GetOpenTxnsResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetOpenTxnsResponse._Fields field) |
Set<Long> |
getOpen_txns() |
Iterator<Long> |
getOpen_txnsIterator() |
int |
getOpen_txnsSize() |
long |
getTxn_high_water_mark() |
int |
hashCode() |
boolean |
isSet(GetOpenTxnsResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetOpen_txns()
Returns true if field open_txns is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxn_high_water_mark()
Returns true if field txn_high_water_mark is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(GetOpenTxnsResponse._Fields field,
Object value) |
void |
setOpen_txns(Set<Long> open_txns) |
void |
setOpen_txnsIsSet(boolean value) |
void |
setTxn_high_water_mark(long txn_high_water_mark) |
void |
setTxn_high_water_markIsSet(boolean value) |
String |
toString() |
void |
unsetOpen_txns() |
void |
unsetTxn_high_water_mark() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetOpenTxnsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetOpenTxnsResponse()
public GetOpenTxnsResponse(GetOpenTxnsResponse other)
public GetOpenTxnsResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public long getTxn_high_water_mark()
public void setTxn_high_water_mark(long txn_high_water_mark)
public void unsetTxn_high_water_mark()
public boolean isSetTxn_high_water_mark()
public void setTxn_high_water_markIsSet(boolean value)
public int getOpen_txnsSize()
public void addToOpen_txns(long elem)
public void unsetOpen_txns()
public boolean isSetOpen_txns()
public void setOpen_txnsIsSet(boolean value)
public void setFieldValue(GetOpenTxnsResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public Object getFieldValue(GetOpenTxnsResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public boolean isSet(GetOpenTxnsResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public boolean equals(GetOpenTxnsResponse that)
public int compareTo(GetOpenTxnsResponse other)
compareTo
in interface Comparable<GetOpenTxnsResponse>
public GetOpenTxnsResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GetOpenTxnsResponse,GetOpenTxnsResponse._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<GetOpenTxnsResponse,GetOpenTxnsResponse._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.