public class PlanDescription extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<PlanDescription>
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanDescription.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
format |
static int |
FORMAT |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<Long,Long> |
node_index_map |
static int |
NODE_INDEX_MAP |
int |
optimize_time_in_us |
static int |
OPTIMIZE_TIME_IN_US |
List<PlanNodeDescription> |
plan_node_descs |
static int |
PLAN_NODE_DESCS |
| Constructor and Description |
|---|
PlanDescription() |
PlanDescription(List<PlanNodeDescription> plan_node_descs,
Map<Long,Long> node_index_map,
byte[] format,
int optimize_time_in_us) |
PlanDescription(PlanDescription other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static PlanDescription.Builder |
builder() |
int |
compareTo(PlanDescription other) |
PlanDescription |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
byte[] |
getFormat() |
Map<Long,Long> |
getNode_index_map() |
int |
getOptimize_time_in_us() |
List<PlanNodeDescription> |
getPlan_node_descs() |
int |
hashCode() |
boolean |
isSetFormat() |
boolean |
isSetNode_index_map() |
boolean |
isSetOptimize_time_in_us() |
boolean |
isSetPlan_node_descs() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
PlanDescription |
setFormat(byte[] format) |
void |
setFormatIsSet(boolean __value) |
PlanDescription |
setNode_index_map(Map<Long,Long> node_index_map) |
void |
setNode_index_mapIsSet(boolean __value) |
PlanDescription |
setOptimize_time_in_us(int optimize_time_in_us) |
void |
setOptimize_time_in_usIsSet(boolean __value) |
PlanDescription |
setPlan_node_descs(List<PlanNodeDescription> plan_node_descs) |
void |
setPlan_node_descsIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetFormat() |
void |
unsetNode_index_map() |
void |
unsetOptimize_time_in_us() |
void |
unsetPlan_node_descs() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public List<PlanNodeDescription> plan_node_descs
public byte[] format
public int optimize_time_in_us
public static final int PLAN_NODE_DESCS
public static final int NODE_INDEX_MAP
public static final int FORMAT
public static final int OPTIMIZE_TIME_IN_US
public PlanDescription()
public PlanDescription(List<PlanNodeDescription> plan_node_descs, Map<Long,Long> node_index_map, byte[] format, int optimize_time_in_us)
public PlanDescription(PlanDescription other)
public static PlanDescription.Builder builder()
public PlanDescription deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic List<PlanNodeDescription> getPlan_node_descs()
public PlanDescription setPlan_node_descs(List<PlanNodeDescription> plan_node_descs)
public void unsetPlan_node_descs()
public boolean isSetPlan_node_descs()
public void setPlan_node_descsIsSet(boolean __value)
public PlanDescription setNode_index_map(Map<Long,Long> node_index_map)
public void unsetNode_index_map()
public boolean isSetNode_index_map()
public void setNode_index_mapIsSet(boolean __value)
public byte[] getFormat()
public PlanDescription setFormat(byte[] format)
public void unsetFormat()
public boolean isSetFormat()
public void setFormatIsSet(boolean __value)
public int getOptimize_time_in_us()
public PlanDescription setOptimize_time_in_us(int optimize_time_in_us)
public void unsetOptimize_time_in_us()
public boolean isSetOptimize_time_in_us()
public void setOptimize_time_in_usIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(PlanDescription other)
compareTo in interface Comparable<PlanDescription>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.