class Google::Apis::BigqueryV2::ExplainQueryStage
Attributes
Relative amount of time the average shard spent on CPU-bound tasks. Corresponds to the JSON property `computeRatioAvg` @return [Float]
Relative amount of time the slowest shard spent on CPU-bound tasks. Corresponds to the JSON property `computeRatioMax` @return [Float]
Unique ID for stage within plan. Corresponds to the JSON property `id` @return [String]
Human-readable name for stage. Corresponds to the JSON property `name` @return [String]
Relative amount of time the average shard spent reading input. Corresponds to the JSON property `readRatioAvg` @return [Float]
Relative amount of time the slowest shard spent reading input. Corresponds to the JSON property `readRatioMax` @return [Float]
Number of records read into the stage. Corresponds to the JSON property `recordsRead` @return [String]
Number of records written by the stage. Corresponds to the JSON property `recordsWritten` @return [String]
List of operations within the stage in dependency order (approximately chronological). Corresponds to the JSON property `steps` @return [Array<Google::Apis::BigqueryV2::ExplainQueryStep>]
Relative amount of time the average shard spent waiting to be scheduled. Corresponds to the JSON property `waitRatioAvg` @return [Float]
Relative amount of time the slowest shard spent waiting to be scheduled. Corresponds to the JSON property `waitRatioMax` @return [Float]
Relative amount of time the average shard spent on writing output. Corresponds to the JSON property `writeRatioAvg` @return [Float]
Relative amount of time the slowest shard spent on writing output. Corresponds to the JSON property `writeRatioMax` @return [Float]
Public Class Methods
# File generated/google/apis/bigquery_v2/classes.rb, line 642 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/bigquery_v2/classes.rb, line 647 def update!(**args) @compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg) @compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @read_ratio_avg = args[:read_ratio_avg] if args.key?(:read_ratio_avg) @read_ratio_max = args[:read_ratio_max] if args.key?(:read_ratio_max) @records_read = args[:records_read] if args.key?(:records_read) @records_written = args[:records_written] if args.key?(:records_written) @steps = args[:steps] if args.key?(:steps) @wait_ratio_avg = args[:wait_ratio_avg] if args.key?(:wait_ratio_avg) @wait_ratio_max = args[:wait_ratio_max] if args.key?(:wait_ratio_max) @write_ratio_avg = args[:write_ratio_avg] if args.key?(:write_ratio_avg) @write_ratio_max = args[:write_ratio_max] if args.key?(:write_ratio_max) end