Class: Google::Apis::SpannerV1::ShortRepresentation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SpannerV1::ShortRepresentation
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb 
Overview
Condensed representation of a node and its subtree. Only present for SCALAR
PlanNode(s).
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A string representation of the expression subtree rooted at this node.
 - 
  
    
      #subqueries  ⇒ Hash<String,Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A mapping of (subquery variable name) -> (subquery node id) for cases where the
descriptionstring of this node references aSCALARsubquery contained in the expression subtree rooted at this node. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ShortRepresentation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ShortRepresentation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ShortRepresentation
Returns a new instance of ShortRepresentation.
      4181 4182 4183  | 
    
      # File 'lib/google/apis/spanner_v1/classes.rb', line 4181 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#description ⇒ String
A string representation of the expression subtree rooted at this node.
Corresponds to the JSON property description
      4171 4172 4173  | 
    
      # File 'lib/google/apis/spanner_v1/classes.rb', line 4171 def description @description end  | 
  
#subqueries ⇒ Hash<String,Fixnum>
A mapping of (subquery variable name) -> (subquery node id) for cases where
the description string of this node references a SCALAR subquery contained
in the expression subtree rooted at this node. The referenced SCALAR
subquery may not necessarily be a direct child of this node.
Corresponds to the JSON property subqueries
      4179 4180 4181  | 
    
      # File 'lib/google/apis/spanner_v1/classes.rb', line 4179 def subqueries @subqueries end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4186 4187 4188 4189  | 
    
      # File 'lib/google/apis/spanner_v1/classes.rb', line 4186 def update!(**args) @description = args[:description] if args.key?(:description) @subqueries = args[:subqueries] if args.key?(:subqueries) end  |