public class ExecutionResponse extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
comment |
static int |
COMMENT |
DataSet |
data |
static int |
DATA |
ErrorCode |
error_code |
static int |
ERROR_CODE |
byte[] |
error_msg |
static int |
ERROR_MSG |
long |
latency_in_us |
static int |
LATENCY_IN_US |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
PlanDescription |
plan_desc |
static int |
PLAN_DESC |
byte[] |
space_name |
static int |
SPACE_NAME |
| Constructor and Description |
|---|
ExecutionResponse() |
ExecutionResponse(ErrorCode error_code,
long latency_in_us) |
ExecutionResponse(ErrorCode error_code,
long latency_in_us,
DataSet data,
byte[] space_name,
byte[] error_msg,
PlanDescription plan_desc,
byte[] comment) |
ExecutionResponse(ExecutionResponse other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionResponse.Builder |
builder() |
ExecutionResponse |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getComment() |
DataSet |
getData() |
ErrorCode |
getError_code() |
byte[] |
getError_msg() |
Object |
getFieldValue(int fieldID) |
long |
getLatency_in_us() |
PlanDescription |
getPlan_desc() |
byte[] |
getSpace_name() |
int |
hashCode() |
boolean |
isSetComment() |
boolean |
isSetData() |
boolean |
isSetError_code() |
boolean |
isSetError_msg() |
boolean |
isSetLatency_in_us() |
boolean |
isSetPlan_desc() |
boolean |
isSetSpace_name() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ExecutionResponse |
setComment(byte[] comment) |
void |
setCommentIsSet(boolean __value) |
ExecutionResponse |
setData(DataSet data) |
void |
setDataIsSet(boolean __value) |
ExecutionResponse |
setError_code(ErrorCode error_code) |
void |
setError_codeIsSet(boolean __value) |
ExecutionResponse |
setError_msg(byte[] error_msg) |
void |
setError_msgIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ExecutionResponse |
setLatency_in_us(long latency_in_us) |
void |
setLatency_in_usIsSet(boolean __value) |
ExecutionResponse |
setPlan_desc(PlanDescription plan_desc) |
void |
setPlan_descIsSet(boolean __value) |
ExecutionResponse |
setSpace_name(byte[] space_name) |
void |
setSpace_nameIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetComment() |
void |
unsetData() |
void |
unsetError_code() |
void |
unsetError_msg() |
void |
unsetLatency_in_us() |
void |
unsetPlan_desc() |
void |
unsetSpace_name() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long latency_in_us
public DataSet data
public byte[] space_name
public byte[] error_msg
public PlanDescription plan_desc
public byte[] comment
public static final int ERROR_CODE
public static final int LATENCY_IN_US
public static final int DATA
public static final int SPACE_NAME
public static final int ERROR_MSG
public static final int PLAN_DESC
public static final int COMMENT
public ExecutionResponse()
public ExecutionResponse(ErrorCode error_code, long latency_in_us)
public ExecutionResponse(ErrorCode error_code, long latency_in_us, DataSet data, byte[] space_name, byte[] error_msg, PlanDescription plan_desc, byte[] comment)
public ExecutionResponse(ExecutionResponse other)
public static ExecutionResponse.Builder builder()
public ExecutionResponse deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic ExecutionResponse setError_code(ErrorCode error_code)
ErrorCodepublic void unsetError_code()
public boolean isSetError_code()
public void setError_codeIsSet(boolean __value)
public long getLatency_in_us()
public ExecutionResponse setLatency_in_us(long latency_in_us)
public void unsetLatency_in_us()
public boolean isSetLatency_in_us()
public void setLatency_in_usIsSet(boolean __value)
public DataSet getData()
public ExecutionResponse setData(DataSet data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean __value)
public byte[] getSpace_name()
public ExecutionResponse setSpace_name(byte[] space_name)
public void unsetSpace_name()
public boolean isSetSpace_name()
public void setSpace_nameIsSet(boolean __value)
public byte[] getError_msg()
public ExecutionResponse setError_msg(byte[] error_msg)
public void unsetError_msg()
public boolean isSetError_msg()
public void setError_msgIsSet(boolean __value)
public PlanDescription getPlan_desc()
public ExecutionResponse setPlan_desc(PlanDescription plan_desc)
public void unsetPlan_desc()
public boolean isSetPlan_desc()
public void setPlan_descIsSet(boolean __value)
public byte[] getComment()
public ExecutionResponse setComment(byte[] comment)
public void unsetComment()
public boolean isSetComment()
public void setCommentIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.