Class: Rafflesia::QueryExecutionEngineCapability
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::QueryExecutionEngineCapability
- Defined in:
- lib/rafflesia/query_contract/query_execution_engine_capability.rb
Constant Summary collapse
- HASH_ATTRS =
{ engine: :engine, has_bounded_concurrency: :has_bounded_concurrency, has_bounded_local_spill: :has_bounded_local_spill, has_context_cancellation: :has_context_cancellation, has_exact_scan_counters: :has_exact_scan_counters, has_execution_profile: :has_execution_profile, has_object_store_row_group_pruning: :has_object_store_row_group_pruning, has_predicate_pushdown: :has_predicate_pushdown, has_projection_pushdown: :has_projection_pushdown, notes: :notes, object_store_pruning_explanation: :object_store_pruning_explanation }.freeze
Instance Attribute Summary collapse
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#has_bounded_concurrency ⇒ Object
Returns the value of attribute has_bounded_concurrency.
-
#has_bounded_local_spill ⇒ Object
Returns the value of attribute has_bounded_local_spill.
-
#has_context_cancellation ⇒ Object
Returns the value of attribute has_context_cancellation.
-
#has_exact_scan_counters ⇒ Object
Returns the value of attribute has_exact_scan_counters.
-
#has_execution_profile ⇒ Object
Returns the value of attribute has_execution_profile.
-
#has_object_store_row_group_pruning ⇒ Object
Returns the value of attribute has_object_store_row_group_pruning.
-
#has_predicate_pushdown ⇒ Object
Returns the value of attribute has_predicate_pushdown.
-
#has_projection_pushdown ⇒ Object
Returns the value of attribute has_projection_pushdown.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#object_store_pruning_explanation ⇒ Object
Returns the value of attribute object_store_pruning_explanation.
Instance Method Summary collapse
-
#initialize(json) ⇒ QueryExecutionEngineCapability
constructor
A new instance of QueryExecutionEngineCapability.
Constructor Details
#initialize(json) ⇒ QueryExecutionEngineCapability
Returns a new instance of QueryExecutionEngineCapability.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @engine = hash[:engine] @has_bounded_concurrency = hash[:has_bounded_concurrency] @has_bounded_local_spill = hash[:has_bounded_local_spill] @has_context_cancellation = hash[:has_context_cancellation] @has_exact_scan_counters = hash[:has_exact_scan_counters] @has_execution_profile = hash[:has_execution_profile] @has_object_store_row_group_pruning = hash[:has_object_store_row_group_pruning] @has_predicate_pushdown = hash[:has_predicate_pushdown] @has_projection_pushdown = hash[:has_projection_pushdown] @notes = hash[:notes] @object_store_pruning_explanation = hash[:object_store_pruning_explanation] end |
Instance Attribute Details
#engine ⇒ Object
Returns the value of attribute engine.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def engine @engine end |
#has_bounded_concurrency ⇒ Object
Returns the value of attribute has_bounded_concurrency.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_bounded_concurrency @has_bounded_concurrency end |
#has_bounded_local_spill ⇒ Object
Returns the value of attribute has_bounded_local_spill.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_bounded_local_spill @has_bounded_local_spill end |
#has_context_cancellation ⇒ Object
Returns the value of attribute has_context_cancellation.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_context_cancellation @has_context_cancellation end |
#has_exact_scan_counters ⇒ Object
Returns the value of attribute has_exact_scan_counters.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_exact_scan_counters @has_exact_scan_counters end |
#has_execution_profile ⇒ Object
Returns the value of attribute has_execution_profile.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_execution_profile @has_execution_profile end |
#has_object_store_row_group_pruning ⇒ Object
Returns the value of attribute has_object_store_row_group_pruning.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_object_store_row_group_pruning @has_object_store_row_group_pruning end |
#has_predicate_pushdown ⇒ Object
Returns the value of attribute has_predicate_pushdown.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_predicate_pushdown @has_predicate_pushdown end |
#has_projection_pushdown ⇒ Object
Returns the value of attribute has_projection_pushdown.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def has_projection_pushdown @has_projection_pushdown end |
#notes ⇒ Object
Returns the value of attribute notes.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def notes @notes end |
#object_store_pruning_explanation ⇒ Object
Returns the value of attribute object_store_pruning_explanation.
22 23 24 |
# File 'lib/rafflesia/query_contract/query_execution_engine_capability.rb', line 22 def object_store_pruning_explanation @object_store_pruning_explanation end |