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.



6801
6802
6803
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6801

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

Instance Attribute Details

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

Corresponds to the JSON property edges



6779
6780
6781
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6779

def edges
  @edges
end

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

Corresponds to the JSON property incomingEdges



6784
6785
6786
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6784

def incoming_edges
  @incoming_edges
end

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

Corresponds to the JSON property outgoingEdges



6789
6790
6791
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6789

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



6794
6795
6796
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6794

def root_cluster
  @root_cluster
end

#stage_idFixnum

Corresponds to the JSON property stageId

Returns:

  • (Fixnum)


6799
6800
6801
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6799

def stage_id
  @stage_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6806
6807
6808
6809
6810
6811
6812
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6806

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