Class: Google::Apis::DataprocV1::RddOperationGraph

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

Graph representing RDD dependencies. Consists of edges and a root cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RddOperationGraph

Returns a new instance of RddOperationGraph.



6647
6648
6649
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6647

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

Instance Attribute Details

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

Corresponds to the JSON property edges



6625
6626
6627
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6625

def edges
  @edges
end

#incoming_edgesArray<Google::Apis::DataprocV1::RddOperationEdge>

Corresponds to the JSON property incomingEdges



6630
6631
6632
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6630

def incoming_edges
  @incoming_edges
end

#outgoing_edgesArray<Google::Apis::DataprocV1::RddOperationEdge>

Corresponds to the JSON property outgoingEdges



6635
6636
6637
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6635

def outgoing_edges
  @outgoing_edges
end

#root_clusterGoogle::Apis::DataprocV1::RddOperationCluster

A grouping of nodes representing higher level constructs (stage, job etc.). Corresponds to the JSON property rootCluster



6640
6641
6642
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6640

def root_cluster
  @root_cluster
end

#stage_idFixnum

Corresponds to the JSON property stageId

Returns:

  • (Fixnum)


6645
6646
6647
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6645

def stage_id
  @stage_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6652
6653
6654
6655
6656
6657
6658
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6652

def update!(**args)
  @edges = args[:edges] if args.key?(:edges)
  @incoming_edges = args[:incoming_edges] if args.key?(:incoming_edges)
  @outgoing_edges = args[:outgoing_edges] if args.key?(:outgoing_edges)
  @root_cluster = args[:root_cluster] if args.key?(:root_cluster)
  @stage_id = args[:stage_id] if args.key?(:stage_id)
end