class Google::Apis::SpannerV1::PlanNode
Node information for nodes appearing in a QueryPlan.plan_nodes
.
Attributes
List of child node `index`es and their relationship to this parent. Corresponds to the JSON property `childLinks` @return [Array<Google::Apis::SpannerV1::ChildLink>]
The display name for the node. Corresponds to the JSON property `displayName` @return [String]
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. Corresponds to the JSON property `executionStats` @return [Hash<String,Object>]
The `PlanNode`'s index in node list. Corresponds to the JSON property `index` @return [Fixnum]
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. Corresponds to the JSON property `kind` @return [String]
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” ` Corresponds to the JSON property `metadata` @return [Hash<String,Object>]
Condensed representation of a node and its subtree. Only present for `SCALAR` PlanNode(s). Corresponds to the JSON property `shortRepresentation` @return [Google::Apis::SpannerV1::ShortRepresentation]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 2900 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 2905 def update!(**args) @child_links = args[:child_links] if args.key?(:child_links) @display_name = args[:display_name] if args.key?(:display_name) @execution_stats = args[:execution_stats] if args.key?(:execution_stats) @index = args[:index] if args.key?(:index) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @short_representation = args[:short_representation] if args.key?(:short_representation) end