Class: Google::Apis::DataprocV1::ShuffleReadMetrics

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

Shuffle data read by the task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShuffleReadMetrics

Returns a new instance of ShuffleReadMetrics.



8247
8248
8249
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8247

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

Instance Attribute Details

#fetch_wait_time_millisFixnum

Corresponds to the JSON property fetchWaitTimeMillis

Returns:

  • (Fixnum)


8205
8206
8207
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8205

def fetch_wait_time_millis
  @fetch_wait_time_millis
end

#local_blocks_fetchedFixnum

Corresponds to the JSON property localBlocksFetched

Returns:

  • (Fixnum)


8210
8211
8212
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8210

def local_blocks_fetched
  @local_blocks_fetched
end

#local_bytes_readFixnum

Corresponds to the JSON property localBytesRead

Returns:

  • (Fixnum)


8215
8216
8217
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8215

def local_bytes_read
  @local_bytes_read
end

#records_readFixnum

Corresponds to the JSON property recordsRead

Returns:

  • (Fixnum)


8220
8221
8222
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8220

def records_read
  @records_read
end

#remote_blocks_fetchedFixnum

Corresponds to the JSON property remoteBlocksFetched

Returns:

  • (Fixnum)


8225
8226
8227
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8225

def remote_blocks_fetched
  @remote_blocks_fetched
end

#remote_bytes_readFixnum

Corresponds to the JSON property remoteBytesRead

Returns:

  • (Fixnum)


8230
8231
8232
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8230

def remote_bytes_read
  @remote_bytes_read
end

#remote_bytes_read_to_diskFixnum

Corresponds to the JSON property remoteBytesReadToDisk

Returns:

  • (Fixnum)


8235
8236
8237
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8235

def remote_bytes_read_to_disk
  @remote_bytes_read_to_disk
end

#remote_reqs_durationFixnum

Corresponds to the JSON property remoteReqsDuration

Returns:

  • (Fixnum)


8240
8241
8242
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8240

def remote_reqs_duration
  @remote_reqs_duration
end

#shuffle_push_read_metricsGoogle::Apis::DataprocV1::ShufflePushReadMetrics

Corresponds to the JSON property shufflePushReadMetrics



8245
8246
8247
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8245

def shuffle_push_read_metrics
  @shuffle_push_read_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8252

def update!(**args)
  @fetch_wait_time_millis = args[:fetch_wait_time_millis] if args.key?(:fetch_wait_time_millis)
  @local_blocks_fetched = args[:local_blocks_fetched] if args.key?(:local_blocks_fetched)
  @local_bytes_read = args[:local_bytes_read] if args.key?(:local_bytes_read)
  @records_read = args[:records_read] if args.key?(:records_read)
  @remote_blocks_fetched = args[:remote_blocks_fetched] if args.key?(:remote_blocks_fetched)
  @remote_bytes_read = args[:remote_bytes_read] if args.key?(:remote_bytes_read)
  @remote_bytes_read_to_disk = args[:remote_bytes_read_to_disk] if args.key?(:remote_bytes_read_to_disk)
  @remote_reqs_duration = args[:remote_reqs_duration] if args.key?(:remote_reqs_duration)
  @shuffle_push_read_metrics = args[:shuffle_push_read_metrics] if args.key?(:shuffle_push_read_metrics)
end