class Google::Apis::SpannerV1::PlanNode

Node information for nodes appearing in a QueryPlan.plan_nodes.

Attributes

display_name[RW]

The display name for the node. Corresponds to the JSON property `displayName` @return [String]

execution_stats[RW]

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>]

index[RW]

The `PlanNode`'s index in node list. Corresponds to the JSON property `index` @return [Fixnum]

kind[RW]

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]

metadata[RW]

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>]

short_representation[RW]

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

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 2900
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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