Class: Google::Apis::DataprocV1::StateOperatorProgress

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StateOperatorProgress

Returns a new instance of StateOperatorProgress.



10629
10630
10631
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10629

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

Instance Attribute Details

#all_removals_time_msFixnum

Corresponds to the JSON property allRemovalsTimeMs

Returns:

  • (Fixnum)


10572
10573
10574
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10572

def all_removals_time_ms
  @all_removals_time_ms
end

#all_updates_time_msFixnum

Corresponds to the JSON property allUpdatesTimeMs

Returns:

  • (Fixnum)


10577
10578
10579
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10577

def all_updates_time_ms
  @all_updates_time_ms
end

#commit_time_msFixnum

Corresponds to the JSON property commitTimeMs

Returns:

  • (Fixnum)


10582
10583
10584
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10582

def commit_time_ms
  @commit_time_ms
end

#custom_metricsHash<String,Fixnum>

Corresponds to the JSON property customMetrics

Returns:

  • (Hash<String,Fixnum>)


10587
10588
10589
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10587

def custom_metrics
  @custom_metrics
end

#memory_used_bytesFixnum

Corresponds to the JSON property memoryUsedBytes

Returns:

  • (Fixnum)


10592
10593
10594
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10592

def memory_used_bytes
  @memory_used_bytes
end

#num_rows_dropped_by_watermarkFixnum

Corresponds to the JSON property numRowsDroppedByWatermark

Returns:

  • (Fixnum)


10597
10598
10599
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10597

def num_rows_dropped_by_watermark
  @num_rows_dropped_by_watermark
end

#num_rows_removedFixnum

Corresponds to the JSON property numRowsRemoved

Returns:

  • (Fixnum)


10602
10603
10604
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10602

def num_rows_removed
  @num_rows_removed
end

#num_rows_totalFixnum

Corresponds to the JSON property numRowsTotal

Returns:

  • (Fixnum)


10607
10608
10609
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10607

def num_rows_total
  @num_rows_total
end

#num_rows_updatedFixnum

Corresponds to the JSON property numRowsUpdated

Returns:

  • (Fixnum)


10612
10613
10614
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10612

def num_rows_updated
  @num_rows_updated
end

#num_shuffle_partitionsFixnum

Corresponds to the JSON property numShufflePartitions

Returns:

  • (Fixnum)


10617
10618
10619
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10617

def num_shuffle_partitions
  @num_shuffle_partitions
end

#num_state_store_instancesFixnum

Corresponds to the JSON property numStateStoreInstances

Returns:

  • (Fixnum)


10622
10623
10624
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10622

def num_state_store_instances
  @num_state_store_instances
end

#operator_nameString

Corresponds to the JSON property operatorName

Returns:

  • (String)


10627
10628
10629
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10627

def operator_name
  @operator_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10634

def update!(**args)
  @all_removals_time_ms = args[:all_removals_time_ms] if args.key?(:all_removals_time_ms)
  @all_updates_time_ms = args[:all_updates_time_ms] if args.key?(:all_updates_time_ms)
  @commit_time_ms = args[:commit_time_ms] if args.key?(:commit_time_ms)
  @custom_metrics = args[:custom_metrics] if args.key?(:custom_metrics)
  @memory_used_bytes = args[:memory_used_bytes] if args.key?(:memory_used_bytes)
  @num_rows_dropped_by_watermark = args[:num_rows_dropped_by_watermark] if args.key?(:num_rows_dropped_by_watermark)
  @num_rows_removed = args[:num_rows_removed] if args.key?(:num_rows_removed)
  @num_rows_total = args[:num_rows_total] if args.key?(:num_rows_total)
  @num_rows_updated = args[:num_rows_updated] if args.key?(:num_rows_updated)
  @num_shuffle_partitions = args[:num_shuffle_partitions] if args.key?(:num_shuffle_partitions)
  @num_state_store_instances = args[:num_state_store_instances] if args.key?(:num_state_store_instances)
  @operator_name = args[:operator_name] if args.key?(:operator_name)
end