Class: Google::Apis::BigqueryV2::BiEngineStatistics

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BiEngineStatistics

Returns a new instance of BiEngineStatistics.



607
608
609
# File 'lib/google/apis/bigquery_v2/classes.rb', line 607

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

Instance Attribute Details

#bi_engine_modeString

[Output-only] Specifies which mode of BI Engine acceleration was performed (if any). Corresponds to the JSON property biEngineMode

Returns:

  • (String)


598
599
600
# File 'lib/google/apis/bigquery_v2/classes.rb', line 598

def bi_engine_mode
  @bi_engine_mode
end

#bi_engine_reasonsArray<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



605
606
607
# File 'lib/google/apis/bigquery_v2/classes.rb', line 605

def bi_engine_reasons
  @bi_engine_reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



612
613
614
615
# File 'lib/google/apis/bigquery_v2/classes.rb', line 612

def update!(**args)
  @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