Class: Rafflesia::FoldSearchCostEvidence
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSearchCostEvidence
- Defined in:
- lib/rafflesia/proteins/fold_search_cost_evidence.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, byte_reduction_fraction: :byte_reduction_fraction, cache_state: :cache_state, calibration_id: :calibration_id, calibration_modes: :calibration_modes, calibration_query_count: :calibration_query_count, calibration_repeat_count: :calibration_repeat_count, calibration_rung_count: :calibration_rung_count, calibration_status: :calibration_status, calibration_target_count_max: :calibration_target_count_max, calibration_target_count_min: :calibration_target_count_min, data_read_semantics: :data_read_semantics, effective_shard_count: :effective_shard_count, estimate_method: :estimate_method, estimated_cpu_seconds: :estimated_cpu_seconds, estimated_peak_rss_mb: :estimated_peak_rss_mb, estimated_wall_ms: :estimated_wall_ms, logical_target_db_bytes: :logical_target_db_bytes, materialization_reduction_fraction: :materialization_reduction_fraction, model_version: :model_version, object_read_reduction_fraction: :object_read_reduction_fraction, planned_exact_shard_count: :planned_exact_shard_count, planned_materialized_bytes: :planned_materialized_bytes, planned_object_bytes: :planned_object_bytes, planned_object_read_count: :planned_object_read_count, query_count: :query_count, target_record_count: :target_record_count, target_record_count_estimated: :target_record_count_estimated, target_shard_count: :target_shard_count, warnings: :warnings }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
-
#cache_state ⇒ Object
Returns the value of attribute cache_state.
-
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
-
#calibration_modes ⇒ Object
Returns the value of attribute calibration_modes.
-
#calibration_query_count ⇒ Object
Returns the value of attribute calibration_query_count.
-
#calibration_repeat_count ⇒ Object
Returns the value of attribute calibration_repeat_count.
-
#calibration_rung_count ⇒ Object
Returns the value of attribute calibration_rung_count.
-
#calibration_status ⇒ Object
Returns the value of attribute calibration_status.
-
#calibration_target_count_max ⇒ Object
Returns the value of attribute calibration_target_count_max.
-
#calibration_target_count_min ⇒ Object
Returns the value of attribute calibration_target_count_min.
-
#data_read_semantics ⇒ Object
Returns the value of attribute data_read_semantics.
-
#effective_shard_count ⇒ Object
Returns the value of attribute effective_shard_count.
-
#estimate_method ⇒ Object
Returns the value of attribute estimate_method.
-
#estimated_cpu_seconds ⇒ Object
Returns the value of attribute estimated_cpu_seconds.
-
#estimated_peak_rss_mb ⇒ Object
Returns the value of attribute estimated_peak_rss_mb.
-
#estimated_wall_ms ⇒ Object
Returns the value of attribute estimated_wall_ms.
-
#logical_target_db_bytes ⇒ Object
Returns the value of attribute logical_target_db_bytes.
-
#materialization_reduction_fraction ⇒ Object
Returns the value of attribute materialization_reduction_fraction.
-
#model_version ⇒ Object
Returns the value of attribute model_version.
-
#object_read_reduction_fraction ⇒ Object
Returns the value of attribute object_read_reduction_fraction.
-
#planned_exact_shard_count ⇒ Object
Returns the value of attribute planned_exact_shard_count.
-
#planned_materialized_bytes ⇒ Object
Returns the value of attribute planned_materialized_bytes.
-
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
-
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#target_record_count ⇒ Object
Returns the value of attribute target_record_count.
-
#target_record_count_estimated ⇒ Object
Returns the value of attribute target_record_count_estimated.
-
#target_shard_count ⇒ Object
Returns the value of attribute target_shard_count.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSearchCostEvidence
constructor
A new instance of FoldSearchCostEvidence.
Constructor Details
#initialize(json) ⇒ FoldSearchCostEvidence
Returns a new instance of FoldSearchCostEvidence.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 73 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @byte_reduction_fraction = hash[:byte_reduction_fraction] @cache_state = hash[:cache_state] @calibration_id = hash[:calibration_id] @calibration_modes = (hash[:calibration_modes] || []) @calibration_query_count = hash[:calibration_query_count] @calibration_repeat_count = hash[:calibration_repeat_count] @calibration_rung_count = hash[:calibration_rung_count] @calibration_status = hash[:calibration_status] @calibration_target_count_max = hash[:calibration_target_count_max] @calibration_target_count_min = hash[:calibration_target_count_min] @data_read_semantics = hash[:data_read_semantics] @effective_shard_count = hash[:effective_shard_count] @estimate_method = hash[:estimate_method] @estimated_cpu_seconds = hash[:estimated_cpu_seconds] @estimated_peak_rss_mb = hash[:estimated_peak_rss_mb] @estimated_wall_ms = hash[:estimated_wall_ms] @logical_target_db_bytes = hash[:logical_target_db_bytes] @materialization_reduction_fraction = hash[:materialization_reduction_fraction] @model_version = hash[:model_version] @object_read_reduction_fraction = hash[:object_read_reduction_fraction] @planned_exact_shard_count = hash[:planned_exact_shard_count] @planned_materialized_bytes = hash[:planned_materialized_bytes] @planned_object_bytes = hash[:planned_object_bytes] @planned_object_read_count = hash[:planned_object_read_count] @query_count = hash[:query_count] @target_record_count = hash[:target_record_count] @target_record_count_estimated = hash[:target_record_count_estimated] @target_shard_count = hash[:target_shard_count] @warnings = (hash[:warnings] || []) end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def backend @backend end |
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def byte_reduction_fraction @byte_reduction_fraction end |
#cache_state ⇒ Object
Returns the value of attribute cache_state.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def cache_state @cache_state end |
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_id @calibration_id end |
#calibration_modes ⇒ Object
Returns the value of attribute calibration_modes.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_modes @calibration_modes end |
#calibration_query_count ⇒ Object
Returns the value of attribute calibration_query_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_query_count @calibration_query_count end |
#calibration_repeat_count ⇒ Object
Returns the value of attribute calibration_repeat_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_repeat_count @calibration_repeat_count end |
#calibration_rung_count ⇒ Object
Returns the value of attribute calibration_rung_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_rung_count @calibration_rung_count end |
#calibration_status ⇒ Object
Returns the value of attribute calibration_status.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_status @calibration_status end |
#calibration_target_count_max ⇒ Object
Returns the value of attribute calibration_target_count_max.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_target_count_max @calibration_target_count_max end |
#calibration_target_count_min ⇒ Object
Returns the value of attribute calibration_target_count_min.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def calibration_target_count_min @calibration_target_count_min end |
#data_read_semantics ⇒ Object
Returns the value of attribute data_read_semantics.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def data_read_semantics @data_read_semantics end |
#effective_shard_count ⇒ Object
Returns the value of attribute effective_shard_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def effective_shard_count @effective_shard_count end |
#estimate_method ⇒ Object
Returns the value of attribute estimate_method.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def estimate_method @estimate_method end |
#estimated_cpu_seconds ⇒ Object
Returns the value of attribute estimated_cpu_seconds.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def estimated_cpu_seconds @estimated_cpu_seconds end |
#estimated_peak_rss_mb ⇒ Object
Returns the value of attribute estimated_peak_rss_mb.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def estimated_peak_rss_mb @estimated_peak_rss_mb end |
#estimated_wall_ms ⇒ Object
Returns the value of attribute estimated_wall_ms.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def estimated_wall_ms @estimated_wall_ms end |
#logical_target_db_bytes ⇒ Object
Returns the value of attribute logical_target_db_bytes.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def logical_target_db_bytes @logical_target_db_bytes end |
#materialization_reduction_fraction ⇒ Object
Returns the value of attribute materialization_reduction_fraction.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def materialization_reduction_fraction @materialization_reduction_fraction end |
#model_version ⇒ Object
Returns the value of attribute model_version.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def model_version @model_version end |
#object_read_reduction_fraction ⇒ Object
Returns the value of attribute object_read_reduction_fraction.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def object_read_reduction_fraction @object_read_reduction_fraction end |
#planned_exact_shard_count ⇒ Object
Returns the value of attribute planned_exact_shard_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def planned_exact_shard_count @planned_exact_shard_count end |
#planned_materialized_bytes ⇒ Object
Returns the value of attribute planned_materialized_bytes.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def planned_materialized_bytes @planned_materialized_bytes end |
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def planned_object_bytes @planned_object_bytes end |
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def planned_object_read_count @planned_object_read_count end |
#query_count ⇒ Object
Returns the value of attribute query_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def query_count @query_count end |
#target_record_count ⇒ Object
Returns the value of attribute target_record_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def target_record_count @target_record_count end |
#target_record_count_estimated ⇒ Object
Returns the value of attribute target_record_count_estimated.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def target_record_count_estimated @target_record_count_estimated end |
#target_shard_count ⇒ Object
Returns the value of attribute target_shard_count.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def target_shard_count @target_shard_count end |
#warnings ⇒ Object
Returns the value of attribute warnings.
41 42 43 |
# File 'lib/rafflesia/proteins/fold_search_cost_evidence.rb', line 41 def warnings @warnings end |