Class: Google::Apis::DataprocV1::SparkPlanGraph
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkPlanGraph
- 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
-
#edges ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphEdge>
Corresponds to the JSON property
edges. -
#execution_id ⇒ Fixnum
Corresponds to the JSON property
executionId. -
#nodes ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>
Corresponds to the JSON property
nodes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkPlanGraph
constructor
A new instance of SparkPlanGraph.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkPlanGraph
Returns a new instance of SparkPlanGraph.
8463 8464 8465 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#edges ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphEdge>
Corresponds to the JSON property edges
8451 8452 8453 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8451 def edges @edges end |
#execution_id ⇒ Fixnum
Corresponds to the JSON property executionId
8456 8457 8458 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8456 def execution_id @execution_id end |
#nodes ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>
Corresponds to the JSON property nodes
8461 8462 8463 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8461 def nodes @nodes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8468 8469 8470 8471 8472 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8468 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 |