public class OpenTxnsResponse extends Object implements org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
OpenTxnsResponse._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<OpenTxnsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
OpenTxnsResponse() |
OpenTxnsResponse(List<Long> txn_ids) |
OpenTxnsResponse(OpenTxnsResponse other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToTxn_ids(long elem) |
void |
clear() |
int |
compareTo(OpenTxnsResponse other) |
OpenTxnsResponse |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(OpenTxnsResponse that) |
OpenTxnsResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(OpenTxnsResponse._Fields field) |
List<Long> |
getTxn_ids() |
Iterator<Long> |
getTxn_idsIterator() |
int |
getTxn_idsSize() |
int |
hashCode() |
boolean |
isSet(OpenTxnsResponse._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(OpenTxnsResponse._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<OpenTxnsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public OpenTxnsResponse()
public OpenTxnsResponse(OpenTxnsResponse other)
public OpenTxnsResponse deepCopy()
deepCopy
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._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(OpenTxnsResponse._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>
public Object getFieldValue(OpenTxnsResponse._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>
public boolean isSet(OpenTxnsResponse._Fields field)
isSet
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>
public boolean equals(OpenTxnsResponse that)
public int compareTo(OpenTxnsResponse other)
compareTo
in interface Comparable<OpenTxnsResponse>
public OpenTxnsResponse._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<OpenTxnsResponse,OpenTxnsResponse._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<OpenTxnsResponse,OpenTxnsResponse._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.