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.



6792
6793
6794
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6792

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

Instance Attribute Details

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

Corresponds to the JSON property edges



6770
6771
6772
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6770

def edges
  @edges
end

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

Corresponds to the JSON property incomingEdges



6775
6776
6777
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6775

def incoming_edges
  @incoming_edges
end

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

Corresponds to the JSON property outgoingEdges



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

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



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

def root_cluster
  @root_cluster
end

#stage_idFixnum

Corresponds to the JSON property stageId

Returns:

  • (Fixnum)


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

def stage_id
  @stage_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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