Class: Rafflesia::FoldCollectionQueryTrace
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionQueryTrace
- Defined in:
- lib/rafflesia/proteins/fold_collection_query_trace.rb
Constant Summary collapse
- HASH_ATTRS =
{ block_cache_hits: :block_cache_hits, block_cache_misses: :block_cache_misses, budget_reasons: :budget_reasons, calibration_id: :calibration_id, calibration_object_id: :calibration_object_id, collection_id: :collection_id, dry_run: :dry_run, execution_backend: :execution_backend, is_distributed: :is_distributed, is_within_budget: :is_within_budget, kind: :kind, materialized_bytes: :materialized_bytes, max_workers: :max_workers, object_bytes_fetched: :object_bytes_fetched, object_read_count: :object_read_count, planned_object_bytes: :planned_object_bytes, planned_object_read_count: :planned_object_read_count, planned_segment_count: :planned_segment_count, query_id: :query_id, ref: :ref, routing_directory_object_id: :routing_directory_object_id, routing_mode: :routing_mode, routing_strategy: :routing_strategy, schema_version: :schema_version, searched_segment_count: :searched_segment_count, segment_count: :segment_count, selected_block_count: :selected_block_count, selected_block_ids: :selected_block_ids, selected_score_coverage: :selected_score_coverage, selected_segment_refs: :selected_segment_refs, skipped_segment_count: :skipped_segment_count, skipped_segment_refs: :skipped_segment_refs, snapshot_ref: :snapshot_ref, stop_reason: :stop_reason, target_score_coverage: :target_score_coverage, uses_calibration: :uses_calibration, worker_completed_count: :worker_completed_count, worker_failed_count: :worker_failed_count, worker_task_count: :worker_task_count }.freeze
Instance Attribute Summary collapse
-
#block_cache_hits ⇒ Object
Returns the value of attribute block_cache_hits.
-
#block_cache_misses ⇒ Object
Returns the value of attribute block_cache_misses.
-
#budget_reasons ⇒ Object
Returns the value of attribute budget_reasons.
-
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
-
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
-
#collection_id ⇒ Object
Returns the value of attribute collection_id.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#execution_backend ⇒ Object
Returns the value of attribute execution_backend.
-
#is_distributed ⇒ Object
Returns the value of attribute is_distributed.
-
#is_within_budget ⇒ Object
Returns the value of attribute is_within_budget.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#materialized_bytes ⇒ Object
Returns the value of attribute materialized_bytes.
-
#max_workers ⇒ Object
Returns the value of attribute max_workers.
-
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
-
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
-
#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.
-
#planned_segment_count ⇒ Object
Returns the value of attribute planned_segment_count.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#routing_directory_object_id ⇒ Object
Returns the value of attribute routing_directory_object_id.
-
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
-
#routing_strategy ⇒ Object
Returns the value of attribute routing_strategy.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#searched_segment_count ⇒ Object
Returns the value of attribute searched_segment_count.
-
#segment_count ⇒ Object
Returns the value of attribute segment_count.
-
#selected_block_count ⇒ Object
Returns the value of attribute selected_block_count.
-
#selected_block_ids ⇒ Object
Returns the value of attribute selected_block_ids.
-
#selected_score_coverage ⇒ Object
Returns the value of attribute selected_score_coverage.
-
#selected_segment_refs ⇒ Object
Returns the value of attribute selected_segment_refs.
-
#skipped_segment_count ⇒ Object
Returns the value of attribute skipped_segment_count.
-
#skipped_segment_refs ⇒ Object
Returns the value of attribute skipped_segment_refs.
-
#snapshot_ref ⇒ Object
Returns the value of attribute snapshot_ref.
-
#stop_reason ⇒ Object
Returns the value of attribute stop_reason.
-
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
-
#uses_calibration ⇒ Object
Returns the value of attribute uses_calibration.
-
#worker_completed_count ⇒ Object
Returns the value of attribute worker_completed_count.
-
#worker_failed_count ⇒ Object
Returns the value of attribute worker_failed_count.
-
#worker_task_count ⇒ Object
Returns the value of attribute worker_task_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionQueryTrace
constructor
A new instance of FoldCollectionQueryTrace.
Constructor Details
#initialize(json) ⇒ FoldCollectionQueryTrace
Returns a new instance of FoldCollectionQueryTrace.
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 91 def initialize(json) super() hash = self.class.normalize(json) @block_cache_hits = hash[:block_cache_hits] @block_cache_misses = hash[:block_cache_misses] @budget_reasons = (hash[:budget_reasons] || []) @calibration_id = hash[:calibration_id] @calibration_object_id = hash[:calibration_object_id] @collection_id = hash[:collection_id] @dry_run = hash[:dry_run] @execution_backend = hash[:execution_backend] @is_distributed = hash[:is_distributed] @is_within_budget = hash[:is_within_budget] @kind = hash[:kind] @materialized_bytes = hash[:materialized_bytes] @max_workers = hash[:max_workers] @object_bytes_fetched = hash[:object_bytes_fetched] @object_read_count = hash[:object_read_count] @planned_object_bytes = hash[:planned_object_bytes] @planned_object_read_count = hash[:planned_object_read_count] @planned_segment_count = hash[:planned_segment_count] @query_id = hash[:query_id] @ref = hash[:ref] @routing_directory_object_id = hash[:routing_directory_object_id] @routing_mode = hash[:routing_mode] @routing_strategy = hash[:routing_strategy] @schema_version = hash[:schema_version] @searched_segment_count = hash[:searched_segment_count] @segment_count = hash[:segment_count] @selected_block_count = hash[:selected_block_count] @selected_block_ids = (hash[:selected_block_ids] || []) @selected_score_coverage = hash[:selected_score_coverage] @selected_segment_refs = (hash[:selected_segment_refs] || []) @skipped_segment_count = hash[:skipped_segment_count] @skipped_segment_refs = (hash[:skipped_segment_refs] || []) @snapshot_ref = hash[:snapshot_ref] @stop_reason = hash[:stop_reason] @target_score_coverage = hash[:target_score_coverage] @uses_calibration = hash[:uses_calibration] @worker_completed_count = hash[:worker_completed_count] @worker_failed_count = hash[:worker_failed_count] @worker_task_count = hash[:worker_task_count] end |
Instance Attribute Details
#block_cache_hits ⇒ Object
Returns the value of attribute block_cache_hits.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def block_cache_hits @block_cache_hits end |
#block_cache_misses ⇒ Object
Returns the value of attribute block_cache_misses.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def block_cache_misses @block_cache_misses end |
#budget_reasons ⇒ Object
Returns the value of attribute budget_reasons.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def budget_reasons @budget_reasons end |
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def calibration_id @calibration_id end |
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def calibration_object_id @calibration_object_id end |
#collection_id ⇒ Object
Returns the value of attribute collection_id.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def collection_id @collection_id end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def dry_run @dry_run end |
#execution_backend ⇒ Object
Returns the value of attribute execution_backend.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def execution_backend @execution_backend end |
#is_distributed ⇒ Object
Returns the value of attribute is_distributed.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def is_distributed @is_distributed end |
#is_within_budget ⇒ Object
Returns the value of attribute is_within_budget.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def is_within_budget @is_within_budget end |
#kind ⇒ Object
Returns the value of attribute kind.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def kind @kind end |
#materialized_bytes ⇒ Object
Returns the value of attribute materialized_bytes.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def materialized_bytes @materialized_bytes end |
#max_workers ⇒ Object
Returns the value of attribute max_workers.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def max_workers @max_workers end |
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def object_bytes_fetched @object_bytes_fetched end |
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def object_read_count @object_read_count end |
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def planned_object_bytes @planned_object_bytes end |
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def planned_object_read_count @planned_object_read_count end |
#planned_segment_count ⇒ Object
Returns the value of attribute planned_segment_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def planned_segment_count @planned_segment_count end |
#query_id ⇒ Object
Returns the value of attribute query_id.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def query_id @query_id end |
#ref ⇒ Object
Returns the value of attribute ref.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def ref @ref end |
#routing_directory_object_id ⇒ Object
Returns the value of attribute routing_directory_object_id.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def routing_directory_object_id @routing_directory_object_id end |
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def routing_mode @routing_mode end |
#routing_strategy ⇒ Object
Returns the value of attribute routing_strategy.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def routing_strategy @routing_strategy end |
#schema_version ⇒ Object
Returns the value of attribute schema_version.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def schema_version @schema_version end |
#searched_segment_count ⇒ Object
Returns the value of attribute searched_segment_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def searched_segment_count @searched_segment_count end |
#segment_count ⇒ Object
Returns the value of attribute segment_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def segment_count @segment_count end |
#selected_block_count ⇒ Object
Returns the value of attribute selected_block_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def selected_block_count @selected_block_count end |
#selected_block_ids ⇒ Object
Returns the value of attribute selected_block_ids.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def selected_block_ids @selected_block_ids end |
#selected_score_coverage ⇒ Object
Returns the value of attribute selected_score_coverage.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def selected_score_coverage @selected_score_coverage end |
#selected_segment_refs ⇒ Object
Returns the value of attribute selected_segment_refs.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def selected_segment_refs @selected_segment_refs end |
#skipped_segment_count ⇒ Object
Returns the value of attribute skipped_segment_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def skipped_segment_count @skipped_segment_count end |
#skipped_segment_refs ⇒ Object
Returns the value of attribute skipped_segment_refs.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def skipped_segment_refs @skipped_segment_refs end |
#snapshot_ref ⇒ Object
Returns the value of attribute snapshot_ref.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def snapshot_ref @snapshot_ref end |
#stop_reason ⇒ Object
Returns the value of attribute stop_reason.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def stop_reason @stop_reason end |
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def target_score_coverage @target_score_coverage end |
#uses_calibration ⇒ Object
Returns the value of attribute uses_calibration.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def uses_calibration @uses_calibration end |
#worker_completed_count ⇒ Object
Returns the value of attribute worker_completed_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def worker_completed_count @worker_completed_count end |
#worker_failed_count ⇒ Object
Returns the value of attribute worker_failed_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def worker_failed_count @worker_failed_count end |
#worker_task_count ⇒ Object
Returns the value of attribute worker_task_count.
50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_query_trace.rb', line 50 def worker_task_count @worker_task_count end |