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.



10638
10639
10640
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10638

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

Instance Attribute Details

#all_removals_time_msFixnum

Corresponds to the JSON property allRemovalsTimeMs

Returns:

  • (Fixnum)


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

def all_removals_time_ms
  @all_removals_time_ms
end

#all_updates_time_msFixnum

Corresponds to the JSON property allUpdatesTimeMs

Returns:

  • (Fixnum)


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

def all_updates_time_ms
  @all_updates_time_ms
end

#commit_time_msFixnum

Corresponds to the JSON property commitTimeMs

Returns:

  • (Fixnum)


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

def commit_time_ms
  @commit_time_ms
end

#custom_metricsHash<String,Fixnum>

Corresponds to the JSON property customMetrics

Returns:

  • (Hash<String,Fixnum>)


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

def custom_metrics
  @custom_metrics
end

#memory_used_bytesFixnum

Corresponds to the JSON property memoryUsedBytes

Returns:

  • (Fixnum)


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

def memory_used_bytes
  @memory_used_bytes
end

#num_rows_dropped_by_watermarkFixnum

Corresponds to the JSON property numRowsDroppedByWatermark

Returns:

  • (Fixnum)


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

def num_rows_dropped_by_watermark
  @num_rows_dropped_by_watermark
end

#num_rows_removedFixnum

Corresponds to the JSON property numRowsRemoved

Returns:

  • (Fixnum)


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

def num_rows_removed
  @num_rows_removed
end

#num_rows_totalFixnum

Corresponds to the JSON property numRowsTotal

Returns:

  • (Fixnum)


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

def num_rows_total
  @num_rows_total
end

#num_rows_updatedFixnum

Corresponds to the JSON property numRowsUpdated

Returns:

  • (Fixnum)


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

def num_rows_updated
  @num_rows_updated
end

#num_shuffle_partitionsFixnum

Corresponds to the JSON property numShufflePartitions

Returns:

  • (Fixnum)


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

def num_shuffle_partitions
  @num_shuffle_partitions
end

#num_state_store_instancesFixnum

Corresponds to the JSON property numStateStoreInstances

Returns:

  • (Fixnum)


10631
10632
10633
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10631

def num_state_store_instances
  @num_state_store_instances
end

#operator_nameString

Corresponds to the JSON property operatorName

Returns:

  • (String)


10636
10637
10638
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10636

def operator_name
  @operator_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10643

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