Class: Google::Apis::DataprocV1::SparkPlanGraph

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

A graph used for storing information of an executionPlan of DataFrame.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SparkPlanGraph

Returns a new instance of SparkPlanGraph.



9037
9038
9039
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9037

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#edgesArray<Google::Apis::DataprocV1::SparkPlanGraphEdge>

Corresponds to the JSON property edges



9025
9026
9027
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9025

def edges
  @edges
end

#execution_idFixnum

Corresponds to the JSON property executionId

Returns:

  • (Fixnum)


9030
9031
9032
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9030

def execution_id
  @execution_id
end

#nodesArray<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>

Corresponds to the JSON property nodes



9035
9036
9037
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9035

def nodes
  @nodes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9042
9043
9044
9045
9046
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9042

def update!(**args)
  @edges = args[:edges] if args.key?(:edges)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @nodes = args[:nodes] if args.key?(:nodes)
end