public class CASResult extends java.lang.Object implements org.apache.thrift.TBase<CASResult,CASResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<CASResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
CASResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.List<Column> |
current_values |
static java.util.Map<CASResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
success |
| Constructor and Description |
|---|
CASResult() |
CASResult(boolean success) |
CASResult(CASResult other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCurrent_values(Column elem) |
void |
clear() |
int |
compareTo(CASResult other) |
CASResult |
deepCopy() |
boolean |
equals(CASResult that) |
boolean |
equals(java.lang.Object that) |
CASResult._Fields |
fieldForId(int fieldId) |
java.util.List<Column> |
getCurrent_values() |
java.util.Iterator<Column> |
getCurrent_valuesIterator() |
int |
getCurrent_valuesSize() |
java.lang.Object |
getFieldValue(CASResult._Fields field) |
int |
hashCode() |
boolean |
isSet(CASResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCurrent_values()
Returns true if field current_values is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
boolean |
isSuccess() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
CASResult |
setCurrent_values(java.util.List<Column> current_values) |
void |
setCurrent_valuesIsSet(boolean value) |
void |
setFieldValue(CASResult._Fields field,
java.lang.Object value) |
CASResult |
setSuccess(boolean success) |
void |
setSuccessIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCurrent_values() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean success
public java.util.List<Column> current_values
public static final java.util.Map<CASResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CASResult()
public CASResult(boolean success)
public CASResult(CASResult other)
public CASResult deepCopy()
deepCopy in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public boolean isSuccess()
public CASResult setSuccess(boolean success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public int getCurrent_valuesSize()
public java.util.Iterator<Column> getCurrent_valuesIterator()
public void addToCurrent_values(Column elem)
public java.util.List<Column> getCurrent_values()
public void unsetCurrent_values()
public boolean isSetCurrent_values()
public void setCurrent_valuesIsSet(boolean value)
public void setFieldValue(CASResult._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public java.lang.Object getFieldValue(CASResult._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public boolean isSet(CASResult._Fields field)
isSet in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(CASResult that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(CASResult other)
compareTo in interface java.lang.Comparable<CASResult>public CASResult._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<CASResult,CASResult._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015 The Apache Software Foundation