pub struct PlanNode {
pub child_links: Option<Vec<ChildLink>>,
pub display_name: Option<String>,
pub execution_stats: Option<HashMap<String, Value>>,
pub index: Option<i32>,
pub kind: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
pub short_representation: Option<ShortRepresentation>,
}Expand description
Node information for nodes appearing in a QueryPlan.plan_nodes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§child_links: Option<Vec<ChildLink>>List of child node indexes and their relationship to this parent.
display_name: Option<String>The display name for the node.
execution_stats: Option<HashMap<String, Value>>The execution statistics associated with the node, contained in a group of key-value pairs. Only present if the plan was returned as a result of a profile query. For example, number of executions, number of rows/time per execution etc.
index: Option<i32>The PlanNode’s index in node list.
kind: Option<String>Used to determine the type of node. May be needed for visualizing different kinds of nodes differently. For example, If the node is a SCALAR node, it will have a condensed representation which can be used to directly embed a description of the node in its parent.
metadata: Option<HashMap<String, Value>>Attributes relevant to the node contained in a group of key-value pairs. For example, a Parameter Reference node could have the following information in its metadata: { “parameter_reference”: “param1”, “parameter_type”: “array” }
short_representation: Option<ShortRepresentation>Condensed representation for SCALAR nodes.