Class: Rafflesia::BlastSearchBenchmarkSummary
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BlastSearchBenchmarkSummary
- Defined in:
- lib/rafflesia/sequences/blast_search_benchmark_summary.rb
Constant Summary collapse
- HASH_ATTRS =
{ baseline_hit_count: :baseline_hit_count, baseline_materialized_bytes: :baseline_materialized_bytes, benchmark_id: :benchmark_id, byte_reduction_fraction: :byte_reduction_fraction, hit_overlap_fraction: :hit_overlap_fraction, manifest_id: :manifest_id, object_native_block_cache_hits: :object_native_block_cache_hits, object_native_block_cache_misses: :object_native_block_cache_misses, object_native_candidate_oids_bytes: :object_native_candidate_oids_bytes, object_native_exact_pack_object_bytes: :object_native_exact_pack_object_bytes, object_native_exact_pack_object_reads: :object_native_exact_pack_object_reads, object_native_hit_count: :object_native_hit_count, object_native_local_control_bytes: :object_native_local_control_bytes, object_native_materialized_bytes: :object_native_materialized_bytes, object_native_object_bytes: :object_native_object_bytes, object_native_object_reads: :object_native_object_reads, passed: :passed, query: :query, recall_at_1: :recall_at_1, recall_at_10: :recall_at_10, routing_manifest_object_id: :routing_manifest_object_id, seed_routing_hit_count: :seed_routing_hit_count }.freeze
Instance Attribute Summary collapse
-
#baseline_hit_count ⇒ Object
Returns the value of attribute baseline_hit_count.
-
#baseline_materialized_bytes ⇒ Object
Returns the value of attribute baseline_materialized_bytes.
-
#benchmark_id ⇒ Object
Returns the value of attribute benchmark_id.
-
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
-
#hit_overlap_fraction ⇒ Object
Returns the value of attribute hit_overlap_fraction.
-
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
-
#object_native_block_cache_hits ⇒ Object
Returns the value of attribute object_native_block_cache_hits.
-
#object_native_block_cache_misses ⇒ Object
Returns the value of attribute object_native_block_cache_misses.
-
#object_native_candidate_oids_bytes ⇒ Object
Returns the value of attribute object_native_candidate_oids_bytes.
-
#object_native_exact_pack_object_bytes ⇒ Object
Returns the value of attribute object_native_exact_pack_object_bytes.
-
#object_native_exact_pack_object_reads ⇒ Object
Returns the value of attribute object_native_exact_pack_object_reads.
-
#object_native_hit_count ⇒ Object
Returns the value of attribute object_native_hit_count.
-
#object_native_local_control_bytes ⇒ Object
Returns the value of attribute object_native_local_control_bytes.
-
#object_native_materialized_bytes ⇒ Object
Returns the value of attribute object_native_materialized_bytes.
-
#object_native_object_bytes ⇒ Object
Returns the value of attribute object_native_object_bytes.
-
#object_native_object_reads ⇒ Object
Returns the value of attribute object_native_object_reads.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#query ⇒ Object
Returns the value of attribute query.
-
#recall_at_1 ⇒ Object
Returns the value of attribute recall_at_1.
-
#recall_at_10 ⇒ Object
Returns the value of attribute recall_at_10.
-
#routing_manifest_object_id ⇒ Object
Returns the value of attribute routing_manifest_object_id.
-
#seed_routing_hit_count ⇒ Object
Returns the value of attribute seed_routing_hit_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ BlastSearchBenchmarkSummary
constructor
A new instance of BlastSearchBenchmarkSummary.
Constructor Details
#initialize(json) ⇒ BlastSearchBenchmarkSummary
Returns a new instance of BlastSearchBenchmarkSummary.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 57 def initialize(json) super() hash = self.class.normalize(json) @baseline_hit_count = hash[:baseline_hit_count] @baseline_materialized_bytes = hash[:baseline_materialized_bytes] @benchmark_id = hash[:benchmark_id] @byte_reduction_fraction = hash[:byte_reduction_fraction] @hit_overlap_fraction = hash[:hit_overlap_fraction] @manifest_id = hash[:manifest_id] @object_native_block_cache_hits = hash[:object_native_block_cache_hits] @object_native_block_cache_misses = hash[:object_native_block_cache_misses] @object_native_candidate_oids_bytes = hash[:object_native_candidate_oids_bytes] @object_native_exact_pack_object_bytes = hash[:object_native_exact_pack_object_bytes] @object_native_exact_pack_object_reads = hash[:object_native_exact_pack_object_reads] @object_native_hit_count = hash[:object_native_hit_count] @object_native_local_control_bytes = hash[:object_native_local_control_bytes] @object_native_materialized_bytes = hash[:object_native_materialized_bytes] @object_native_object_bytes = hash[:object_native_object_bytes] @object_native_object_reads = hash[:object_native_object_reads] @passed = hash[:passed] @query = hash[:query] @recall_at_1 = hash[:recall_at_1] @recall_at_10 = hash[:recall_at_10] @routing_manifest_object_id = hash[:routing_manifest_object_id] @seed_routing_hit_count = hash[:seed_routing_hit_count] end |
Instance Attribute Details
#baseline_hit_count ⇒ Object
Returns the value of attribute baseline_hit_count.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def baseline_hit_count @baseline_hit_count end |
#baseline_materialized_bytes ⇒ Object
Returns the value of attribute baseline_materialized_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def baseline_materialized_bytes @baseline_materialized_bytes end |
#benchmark_id ⇒ Object
Returns the value of attribute benchmark_id.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def benchmark_id @benchmark_id end |
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def byte_reduction_fraction @byte_reduction_fraction end |
#hit_overlap_fraction ⇒ Object
Returns the value of attribute hit_overlap_fraction.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def hit_overlap_fraction @hit_overlap_fraction end |
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def manifest_id @manifest_id end |
#object_native_block_cache_hits ⇒ Object
Returns the value of attribute object_native_block_cache_hits.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_block_cache_hits @object_native_block_cache_hits end |
#object_native_block_cache_misses ⇒ Object
Returns the value of attribute object_native_block_cache_misses.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_block_cache_misses @object_native_block_cache_misses end |
#object_native_candidate_oids_bytes ⇒ Object
Returns the value of attribute object_native_candidate_oids_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_candidate_oids_bytes @object_native_candidate_oids_bytes end |
#object_native_exact_pack_object_bytes ⇒ Object
Returns the value of attribute object_native_exact_pack_object_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_exact_pack_object_bytes @object_native_exact_pack_object_bytes end |
#object_native_exact_pack_object_reads ⇒ Object
Returns the value of attribute object_native_exact_pack_object_reads.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_exact_pack_object_reads @object_native_exact_pack_object_reads end |
#object_native_hit_count ⇒ Object
Returns the value of attribute object_native_hit_count.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_hit_count @object_native_hit_count end |
#object_native_local_control_bytes ⇒ Object
Returns the value of attribute object_native_local_control_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_local_control_bytes @object_native_local_control_bytes end |
#object_native_materialized_bytes ⇒ Object
Returns the value of attribute object_native_materialized_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_materialized_bytes @object_native_materialized_bytes end |
#object_native_object_bytes ⇒ Object
Returns the value of attribute object_native_object_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_object_bytes @object_native_object_bytes end |
#object_native_object_reads ⇒ Object
Returns the value of attribute object_native_object_reads.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def object_native_object_reads @object_native_object_reads end |
#passed ⇒ Object
Returns the value of attribute passed.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def passed @passed end |
#query ⇒ Object
Returns the value of attribute query.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def query @query end |
#recall_at_1 ⇒ Object
Returns the value of attribute recall_at_1.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def recall_at_1 @recall_at_1 end |
#recall_at_10 ⇒ Object
Returns the value of attribute recall_at_10.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def recall_at_10 @recall_at_10 end |
#routing_manifest_object_id ⇒ Object
Returns the value of attribute routing_manifest_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def routing_manifest_object_id @routing_manifest_object_id end |
#seed_routing_hit_count ⇒ Object
Returns the value of attribute seed_routing_hit_count.
33 34 35 |
# File 'lib/rafflesia/sequences/blast_search_benchmark_summary.rb', line 33 def seed_routing_hit_count @seed_routing_hit_count end |