class Google::Apis::SpannerV1::ChildLink

Metadata associated with a parent-child relationship appearing in a PlanNode.

Attributes

child_index[RW]

The node to which the link points. Corresponds to the JSON property `childIndex` @return [Fixnum]

type[RW]

The type of the link. For example, in Hash Joins this could be used to distinguish between the build child and the probe child, or in the case of the child being an output variable, to represent the tag associated with the output variable. Corresponds to the JSON property `type` @return [String]

variable[RW]

Only present if the child node is SCALAR and corresponds to an output variable of the parent node. The field carries the name of the output variable. For example, a `TableScan` operator that reads rows from a table will have child links to the `SCALAR` nodes representing the output variables created for each column that is read by the operator. The corresponding `variable` fields will be set to the variable names assigned to the columns. Corresponds to the JSON property `variable` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 481
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 486
def update!(**args)
  @child_index = args[:child_index] if args.key?(:child_index)
  @type = args[:type] if args.key?(:type)
  @variable = args[:variable] if args.key?(:variable)
end