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.



10651
10652
10653
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10651

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

Instance Attribute Details

#all_removals_time_msFixnum

Corresponds to the JSON property allRemovalsTimeMs

Returns:

  • (Fixnum)


10594
10595
10596
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10594

def all_removals_time_ms
  @all_removals_time_ms
end

#all_updates_time_msFixnum

Corresponds to the JSON property allUpdatesTimeMs

Returns:

  • (Fixnum)


10599
10600
10601
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10599

def all_updates_time_ms
  @all_updates_time_ms
end

#commit_time_msFixnum

Corresponds to the JSON property commitTimeMs

Returns:

  • (Fixnum)


10604
10605
10606
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10604

def commit_time_ms
  @commit_time_ms
end

#custom_metricsHash<String,Fixnum>

Corresponds to the JSON property customMetrics

Returns:

  • (Hash<String,Fixnum>)


10609
10610
10611
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10609

def custom_metrics
  @custom_metrics
end

#memory_used_bytesFixnum

Corresponds to the JSON property memoryUsedBytes

Returns:

  • (Fixnum)


10614
10615
10616
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10614

def memory_used_bytes
  @memory_used_bytes
end

#num_rows_dropped_by_watermarkFixnum

Corresponds to the JSON property numRowsDroppedByWatermark

Returns:

  • (Fixnum)


10619
10620
10621
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10619

def num_rows_dropped_by_watermark
  @num_rows_dropped_by_watermark
end

#num_rows_removedFixnum

Corresponds to the JSON property numRowsRemoved

Returns:

  • (Fixnum)


10624
10625
10626
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10624

def num_rows_removed
  @num_rows_removed
end

#num_rows_totalFixnum

Corresponds to the JSON property numRowsTotal

Returns:

  • (Fixnum)


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

def num_rows_total
  @num_rows_total
end

#num_rows_updatedFixnum

Corresponds to the JSON property numRowsUpdated

Returns:

  • (Fixnum)


10634
10635
10636
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10634

def num_rows_updated
  @num_rows_updated
end

#num_shuffle_partitionsFixnum

Corresponds to the JSON property numShufflePartitions

Returns:

  • (Fixnum)


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

def num_shuffle_partitions
  @num_shuffle_partitions
end

#num_state_store_instancesFixnum

Corresponds to the JSON property numStateStoreInstances

Returns:

  • (Fixnum)


10644
10645
10646
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10644

def num_state_store_instances
  @num_state_store_instances
end

#operator_nameString

Corresponds to the JSON property operatorName

Returns:

  • (String)


10649
10650
10651
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10649

def operator_name
  @operator_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10656

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