@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class SearchResult
extends java.lang.Object
implements org.apache.thrift.TBase<SearchResult,SearchResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SearchResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<SearchResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
SearchResult() |
SearchResult(SearchResult other) |
SearchResult(java.lang.String result) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(SearchResult other) |
SearchResult |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(SearchResult that) |
SearchResult._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(SearchResult._Fields field) |
java.lang.String |
getResult() |
int |
hashCode() |
boolean |
isSet(SearchResult._Fields field) |
boolean |
isSetResult() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(SearchResult._Fields field,
java.lang.Object value) |
SearchResult |
setResult(java.lang.String result) |
void |
setResultIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetResult() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<SearchResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SearchResult()
public SearchResult(java.lang.String result)
public SearchResult(SearchResult other)
public SearchResult deepCopy()
deepCopy in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public void clear()
clear in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public java.lang.String getResult()
public SearchResult setResult(java.lang.String result)
public void unsetResult()
public boolean isSetResult()
public void setResultIsSet(boolean value)
public void setFieldValue(SearchResult._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public java.lang.Object getFieldValue(SearchResult._Fields field)
getFieldValue in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public boolean isSet(SearchResult._Fields field)
isSet in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(SearchResult that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(SearchResult other)
compareTo in interface java.lang.Comparable<SearchResult>public SearchResult._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<SearchResult,SearchResult._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<SearchResult,SearchResult._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<SearchResult,SearchResult._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 © 2023. All Rights Reserved.