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.



6374
6375
6376
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6374

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

Instance Attribute Details

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

Corresponds to the JSON property edges



6352
6353
6354
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6352

def edges
  @edges
end

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

Corresponds to the JSON property incomingEdges



6357
6358
6359
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6357

def incoming_edges
  @incoming_edges
end

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

Corresponds to the JSON property outgoingEdges



6362
6363
6364
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6362

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



6367
6368
6369
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6367

def root_cluster
  @root_cluster
end

#stage_idFixnum

Corresponds to the JSON property stageId

Returns:

  • (Fixnum)


6372
6373
6374
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6372

def stage_id
  @stage_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6379
6380
6381
6382
6383
6384
6385
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6379

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