public class TFetchResultsResp extends Object implements org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TFetchResultsResp._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<TFetchResultsResp._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TFetchResultsResp() |
TFetchResultsResp(TFetchResultsResp other)
Performs a deep copy on other.
|
TFetchResultsResp(TStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TFetchResultsResp other) |
TFetchResultsResp |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TFetchResultsResp that) |
TFetchResultsResp._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TFetchResultsResp._Fields field) |
TRowSet |
getResults() |
TStatus |
getStatus() |
int |
hashCode() |
boolean |
isHasMoreRows() |
boolean |
isSet(TFetchResultsResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetHasMoreRows()
Returns true if field hasMoreRows is set (has been assigned a value) and false otherwise
|
boolean |
isSetResults()
Returns true if field results is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TFetchResultsResp._Fields field,
Object value) |
void |
setHasMoreRows(boolean hasMoreRows) |
void |
setHasMoreRowsIsSet(boolean value) |
void |
setResults(TRowSet results) |
void |
setResultsIsSet(boolean value) |
void |
setStatus(TStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetHasMoreRows() |
void |
unsetResults() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TFetchResultsResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TFetchResultsResp()
public TFetchResultsResp(TStatus status)
public TFetchResultsResp(TFetchResultsResp other)
public TFetchResultsResp deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public TStatus getStatus()
public void setStatus(TStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public boolean isHasMoreRows()
public void setHasMoreRows(boolean hasMoreRows)
public void unsetHasMoreRows()
public boolean isSetHasMoreRows()
public void setHasMoreRowsIsSet(boolean value)
public TRowSet getResults()
public void setResults(TRowSet results)
public void unsetResults()
public boolean isSetResults()
public void setResultsIsSet(boolean value)
public void setFieldValue(TFetchResultsResp._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public Object getFieldValue(TFetchResultsResp._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public boolean isSet(TFetchResultsResp._Fields field)
isSet
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public boolean equals(TFetchResultsResp that)
public int compareTo(TFetchResultsResp other)
compareTo
in interface Comparable<TFetchResultsResp>
public TFetchResultsResp._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TFetchResultsResp,TFetchResultsResp._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<TFetchResultsResp,TFetchResultsResp._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.