public class GetOpenTxnsInfoResponse extends Object implements org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
GetOpenTxnsInfoResponse._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<GetOpenTxnsInfoResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GetOpenTxnsInfoResponse() |
GetOpenTxnsInfoResponse(GetOpenTxnsInfoResponse other)
Performs a deep copy on other.
|
GetOpenTxnsInfoResponse(long txn_high_water_mark,
List<TxnInfo> open_txns) |
Modifier and Type | Method and Description |
---|---|
void |
addToOpen_txns(TxnInfo elem) |
void |
clear() |
int |
compareTo(GetOpenTxnsInfoResponse other) |
GetOpenTxnsInfoResponse |
deepCopy() |
boolean |
equals(GetOpenTxnsInfoResponse that) |
boolean |
equals(Object that) |
GetOpenTxnsInfoResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetOpenTxnsInfoResponse._Fields field) |
List<TxnInfo> |
getOpen_txns() |
Iterator<TxnInfo> |
getOpen_txnsIterator() |
int |
getOpen_txnsSize() |
long |
getTxn_high_water_mark() |
int |
hashCode() |
boolean |
isSet(GetOpenTxnsInfoResponse._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(GetOpenTxnsInfoResponse._Fields field,
Object value) |
void |
setOpen_txns(List<TxnInfo> 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<GetOpenTxnsInfoResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetOpenTxnsInfoResponse()
public GetOpenTxnsInfoResponse(long txn_high_water_mark, List<TxnInfo> open_txns)
public GetOpenTxnsInfoResponse(GetOpenTxnsInfoResponse other)
public GetOpenTxnsInfoResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._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(TxnInfo elem)
public void unsetOpen_txns()
public boolean isSetOpen_txns()
public void setOpen_txnsIsSet(boolean value)
public void setFieldValue(GetOpenTxnsInfoResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>
public Object getFieldValue(GetOpenTxnsInfoResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>
public boolean isSet(GetOpenTxnsInfoResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>
public boolean equals(GetOpenTxnsInfoResponse that)
public int compareTo(GetOpenTxnsInfoResponse other)
compareTo
in interface Comparable<GetOpenTxnsInfoResponse>
public GetOpenTxnsInfoResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._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<GetOpenTxnsInfoResponse,GetOpenTxnsInfoResponse._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.