Class: Rafflesia::QueryExecutionEngineCapability

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

Instance Method Summary collapse

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

#engineObject

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_concurrencyObject

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_spillObject

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_cancellationObject

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_countersObject

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_profileObject

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_pruningObject

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_pushdownObject

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_pushdownObject

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

#notesObject

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_explanationObject

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