public static class Kestrel.get_result extends Object implements org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Kestrel.get_result._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<Kestrel.get_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
get_result() |
get_result(Kestrel.get_result other)
Performs a deep copy on other.
|
get_result(List<Item> success) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_success(Item elem) |
void |
clear() |
int |
compareTo(Kestrel.get_result other) |
Kestrel.get_result |
deepCopy() |
boolean |
equals(Kestrel.get_result that) |
boolean |
equals(Object that) |
Kestrel.get_result._Fields |
fieldForId(int fieldId) |
Iterator<Item> |
get_success_iterator() |
int |
get_success_size() |
List<Item> |
get_success() |
Object |
getFieldValue(Kestrel.get_result._Fields field) |
int |
hashCode() |
boolean |
is_set_success()
Returns true if field success is set (has been assigned a value) and
false otherwise
|
boolean |
isSet(Kestrel.get_result._Fields field)
Returns true if field corresponding to fieldID is set (has been
assigned a value) and false otherwise
|
void |
read(org.apache.thrift7.protocol.TProtocol iprot) |
void |
set_success_isSet(boolean value) |
void |
set_success(List<Item> success) |
void |
setFieldValue(Kestrel.get_result._Fields field,
Object value) |
String |
toString() |
void |
unset_success() |
void |
validate() |
void |
write(org.apache.thrift7.protocol.TProtocol oprot) |
public static final Map<Kestrel.get_result._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public get_result()
public get_result(List<Item> success)
public get_result(Kestrel.get_result other)
public Kestrel.get_result deepCopy()
deepCopy
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public void clear()
clear
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public int get_success_size()
public Iterator<Item> get_success_iterator()
public void add_to_success(Item elem)
public List<Item> get_success()
public void set_success(List<Item> success)
public void unset_success()
public boolean is_set_success()
public void set_success_isSet(boolean value)
public void setFieldValue(Kestrel.get_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public Object getFieldValue(Kestrel.get_result._Fields field)
getFieldValue
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public boolean isSet(Kestrel.get_result._Fields field)
isSet
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public boolean equals(Kestrel.get_result that)
public int compareTo(Kestrel.get_result other)
compareTo
in interface Comparable<Kestrel.get_result>
public Kestrel.get_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
org.apache.thrift7.TException
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException
write
in interface org.apache.thrift7.TBase<Kestrel.get_result,Kestrel.get_result._Fields>
org.apache.thrift7.TException
public void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException