Class: Google::Cloud::Bigquery::QueryJob::Stage
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::QueryJob::Stage
- Defined in:
- lib/google/cloud/bigquery/query_job.rb
Overview
Represents a stage in the execution plan for the query.
Attributes collapse
-
#compute_ratio_avg ⇒ Float
readonly
Relative amount of time the average shard spent on CPU-bound tasks.
-
#compute_ratio_max ⇒ Float
readonly
Relative amount of time the slowest shard spent on CPU-bound tasks.
-
#id ⇒ Integer
readonly
Unique ID for the stage within the query plan.
-
#name ⇒ String
readonly
Human-readable name for the stage.
-
#read_ratio_avg ⇒ Float
readonly
Relative amount of time the average shard spent reading input.
-
#read_ratio_max ⇒ Float
readonly
Relative amount of time the slowest shard spent reading input.
-
#records_read ⇒ Integer
readonly
Number of records read into the stage.
-
#records_written ⇒ Integer
readonly
Number of records written by the stage.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#steps ⇒ Array<Step>
readonly
List of operations within the stage in dependency order (approximately chronological).
-
#wait_ratio_avg ⇒ Float
readonly
Relative amount of time the average shard spent waiting to be scheduled.
-
#wait_ratio_max ⇒ Float
readonly
Relative amount of time the slowest shard spent waiting to be scheduled.
-
#write_ratio_avg ⇒ Float
readonly
Relative amount of time the average shard spent on writing output.
-
#write_ratio_max ⇒ Float
readonly
Relative amount of time the slowest shard spent on writing output.
Instance Attribute Details
#compute_ratio_avg ⇒ Float (readonly)
Relative amount of time the average shard spent on CPU-bound tasks.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def compute_ratio_avg @compute_ratio_avg end |
#compute_ratio_max ⇒ Float (readonly)
Relative amount of time the slowest shard spent on CPU-bound tasks.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def compute_ratio_max @compute_ratio_max end |
#id ⇒ Integer (readonly)
Unique ID for the stage within the query plan.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def id @id end |
#name ⇒ String (readonly)
Human-readable name for the stage.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def name @name end |
#read_ratio_avg ⇒ Float (readonly)
Relative amount of time the average shard spent reading input.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def read_ratio_avg @read_ratio_avg end |
#read_ratio_max ⇒ Float (readonly)
Relative amount of time the slowest shard spent reading input.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def read_ratio_max @read_ratio_max end |
#records_read ⇒ Integer (readonly)
Number of records read into the stage.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def records_read @records_read end |
#records_written ⇒ Integer (readonly)
Number of records written by the stage.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def records_written @records_written end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
1708 1709 1710 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1708 def status @status end |
#steps ⇒ Array<Step> (readonly)
List of operations within the stage in dependency order (approximately chronological).
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def steps @steps end |
#wait_ratio_avg ⇒ Float (readonly)
Relative amount of time the average shard spent waiting to be scheduled.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def wait_ratio_avg @wait_ratio_avg end |
#wait_ratio_max ⇒ Float (readonly)
Relative amount of time the slowest shard spent waiting to be scheduled.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def wait_ratio_max @wait_ratio_max end |
#write_ratio_avg ⇒ Float (readonly)
Relative amount of time the average shard spent on writing output.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def write_ratio_avg @write_ratio_avg end |
#write_ratio_max ⇒ Float (readonly)
Relative amount of time the slowest shard spent on writing output.
1699 1700 1701 |
# File 'lib/google/cloud/bigquery/query_job.rb', line 1699 def write_ratio_max @write_ratio_max end |