Class: Google::Apis::DataprocV1::StageShuffleReadMetrics

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 for the stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageShuffleReadMetrics

Returns a new instance of StageShuffleReadMetrics.



10067
10068
10069
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10067

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

Instance Attribute Details

#bytes_readFixnum

Corresponds to the JSON property bytesRead

Returns:

  • (Fixnum)


10020
10021
10022
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10020

def bytes_read
  @bytes_read
end

#fetch_wait_time_millisFixnum

Corresponds to the JSON property fetchWaitTimeMillis

Returns:

  • (Fixnum)


10025
10026
10027
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10025

def fetch_wait_time_millis
  @fetch_wait_time_millis
end

#local_blocks_fetchedFixnum

Corresponds to the JSON property localBlocksFetched

Returns:

  • (Fixnum)


10030
10031
10032
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10030

def local_blocks_fetched
  @local_blocks_fetched
end

#local_bytes_readFixnum

Corresponds to the JSON property localBytesRead

Returns:

  • (Fixnum)


10035
10036
10037
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10035

def local_bytes_read
  @local_bytes_read
end

#records_readFixnum

Corresponds to the JSON property recordsRead

Returns:

  • (Fixnum)


10040
10041
10042
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10040

def records_read
  @records_read
end

#remote_blocks_fetchedFixnum

Corresponds to the JSON property remoteBlocksFetched

Returns:

  • (Fixnum)


10045
10046
10047
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10045

def remote_blocks_fetched
  @remote_blocks_fetched
end

#remote_bytes_readFixnum

Corresponds to the JSON property remoteBytesRead

Returns:

  • (Fixnum)


10050
10051
10052
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10050

def remote_bytes_read
  @remote_bytes_read
end

#remote_bytes_read_to_diskFixnum

Corresponds to the JSON property remoteBytesReadToDisk

Returns:

  • (Fixnum)


10055
10056
10057
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10055

def remote_bytes_read_to_disk
  @remote_bytes_read_to_disk
end

#remote_reqs_durationFixnum

Corresponds to the JSON property remoteReqsDuration

Returns:

  • (Fixnum)


10060
10061
10062
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10060

def remote_reqs_duration
  @remote_reqs_duration
end

#stage_shuffle_push_read_metricsGoogle::Apis::DataprocV1::StageShufflePushReadMetrics

Corresponds to the JSON property stageShufflePushReadMetrics



10065
10066
10067
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10065

def stage_shuffle_push_read_metrics
  @stage_shuffle_push_read_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10072

def update!(**args)
  @bytes_read = args[:bytes_read] if args.key?(:bytes_read)
  @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)
  @stage_shuffle_push_read_metrics = args[:stage_shuffle_push_read_metrics] if args.key?(:stage_shuffle_push_read_metrics)
end