Class: Google::Apis::BigqueryV2::BiEngineStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::BiEngineStatistics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Statistics for a BI Engine specific query. Populated as part of JobStatistics2
Instance Attribute Summary collapse
-
#acceleration_mode ⇒ String
Output only.
-
#bi_engine_mode ⇒ String
Output only.
-
#bi_engine_reasons ⇒ Array<Google::Apis::BigqueryV2::BiEngineReason>
In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory reasons as to why BI Engine could not accelerate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BiEngineStatistics
constructor
A new instance of BiEngineStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BiEngineStatistics
Returns a new instance of BiEngineStatistics.
652 653 654 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#acceleration_mode ⇒ String
Output only. Specifies which mode of BI Engine acceleration was performed (if
any).
Corresponds to the JSON property accelerationMode
637 638 639 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 637 def acceleration_mode @acceleration_mode end |
#bi_engine_mode ⇒ String
Output only. Specifies which mode of BI Engine acceleration was performed (if
any).
Corresponds to the JSON property biEngineMode
643 644 645 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 643 def bi_engine_mode @bi_engine_mode end |
#bi_engine_reasons ⇒ Array<Google::Apis::BigqueryV2::BiEngineReason>
In case of DISABLED or PARTIAL bi_engine_mode, these contain the explanatory
reasons as to why BI Engine could not accelerate. In case the full query was
accelerated, this field is not populated.
Corresponds to the JSON property biEngineReasons
650 651 652 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 650 def bi_engine_reasons @bi_engine_reasons end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
657 658 659 660 661 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 657 def update!(**args) @acceleration_mode = args[:acceleration_mode] if args.key?(:acceleration_mode) @bi_engine_mode = args[:bi_engine_mode] if args.key?(:bi_engine_mode) @bi_engine_reasons = args[:bi_engine_reasons] if args.key?(:bi_engine_reasons) end |