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.



10320
10321
10322
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10320

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

Instance Attribute Details

#all_removals_time_msFixnum

Corresponds to the JSON property allRemovalsTimeMs

Returns:

  • (Fixnum)


10263
10264
10265
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10263

def all_removals_time_ms
  @all_removals_time_ms
end

#all_updates_time_msFixnum

Corresponds to the JSON property allUpdatesTimeMs

Returns:

  • (Fixnum)


10268
10269
10270
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10268

def all_updates_time_ms
  @all_updates_time_ms
end

#commit_time_msFixnum

Corresponds to the JSON property commitTimeMs

Returns:

  • (Fixnum)


10273
10274
10275
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10273

def commit_time_ms
  @commit_time_ms
end

#custom_metricsHash<String,Fixnum>

Corresponds to the JSON property customMetrics

Returns:

  • (Hash<String,Fixnum>)


10278
10279
10280
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10278

def custom_metrics
  @custom_metrics
end

#memory_used_bytesFixnum

Corresponds to the JSON property memoryUsedBytes

Returns:

  • (Fixnum)


10283
10284
10285
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10283

def memory_used_bytes
  @memory_used_bytes
end

#num_rows_dropped_by_watermarkFixnum

Corresponds to the JSON property numRowsDroppedByWatermark

Returns:

  • (Fixnum)


10288
10289
10290
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10288

def num_rows_dropped_by_watermark
  @num_rows_dropped_by_watermark
end

#num_rows_removedFixnum

Corresponds to the JSON property numRowsRemoved

Returns:

  • (Fixnum)


10293
10294
10295
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10293

def num_rows_removed
  @num_rows_removed
end

#num_rows_totalFixnum

Corresponds to the JSON property numRowsTotal

Returns:

  • (Fixnum)


10298
10299
10300
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10298

def num_rows_total
  @num_rows_total
end

#num_rows_updatedFixnum

Corresponds to the JSON property numRowsUpdated

Returns:

  • (Fixnum)


10303
10304
10305
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10303

def num_rows_updated
  @num_rows_updated
end

#num_shuffle_partitionsFixnum

Corresponds to the JSON property numShufflePartitions

Returns:

  • (Fixnum)


10308
10309
10310
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10308

def num_shuffle_partitions
  @num_shuffle_partitions
end

#num_state_store_instancesFixnum

Corresponds to the JSON property numStateStoreInstances

Returns:

  • (Fixnum)


10313
10314
10315
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10313

def num_state_store_instances
  @num_state_store_instances
end

#operator_nameString

Corresponds to the JSON property operatorName

Returns:

  • (String)


10318
10319
10320
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10318

def operator_name
  @operator_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10325

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