Class: Rafflesia::SequenceCandidateSweepRow
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateSweepRow
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_sweep_row.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_count: :candidate_count, feasible: :feasible, index: :index, index_generation: :index_generation, kmer_size: :kmer_size, max_hits: :max_hits, mean_object_bytes_per_query: :mean_object_bytes_per_query, mean_object_reads_per_query: :mean_object_reads_per_query, minimizer_window: :minimizer_window, namespace: :namespace, object_bytes_fetched: :object_bytes_fetched, object_read_count: :object_read_count, p50_latency_ms: :p_50_latency_ms, p95_latency_ms: :p_95_latency_ms, payload_shard_records: :payload_shard_records, query_count: :query_count, query_mode: :query_mode, recall_at_k: :recall_at_k, record_count: :record_count, reduced_alphabet: :reduced_alphabet, rejection_reasons: :rejection_reasons, warnings: :warnings }.freeze
Instance Attribute Summary collapse
-
#candidate_count ⇒ Object
Returns the value of attribute candidate_count.
-
#feasible ⇒ Object
Returns the value of attribute feasible.
-
#index ⇒ Object
Returns the value of attribute index.
-
#index_generation ⇒ Object
Returns the value of attribute index_generation.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#max_hits ⇒ Object
Returns the value of attribute max_hits.
-
#mean_object_bytes_per_query ⇒ Object
Returns the value of attribute mean_object_bytes_per_query.
-
#mean_object_reads_per_query ⇒ Object
Returns the value of attribute mean_object_reads_per_query.
-
#minimizer_window ⇒ Object
Returns the value of attribute minimizer_window.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
-
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
-
#p_50_latency_ms ⇒ Object
Returns the value of attribute p_50_latency_ms.
-
#p_95_latency_ms ⇒ Object
Returns the value of attribute p_95_latency_ms.
-
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#query_mode ⇒ Object
Returns the value of attribute query_mode.
-
#recall_at_k ⇒ Object
Returns the value of attribute recall_at_k.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
-
#rejection_reasons ⇒ Object
Returns the value of attribute rejection_reasons.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceCandidateSweepRow
constructor
A new instance of SequenceCandidateSweepRow.
Constructor Details
#initialize(json) ⇒ SequenceCandidateSweepRow
Returns a new instance of SequenceCandidateSweepRow.
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/sequence_candidate_sweep_row.rb', line 57 def initialize(json) super() hash = self.class.normalize(json) @candidate_count = hash[:candidate_count] @feasible = hash[:feasible] @index = hash[:index] @index_generation = hash[:index_generation] @kmer_size = hash[:kmer_size] @max_hits = hash[:max_hits] @mean_object_bytes_per_query = hash[:mean_object_bytes_per_query] @mean_object_reads_per_query = hash[:mean_object_reads_per_query] @minimizer_window = hash[:minimizer_window] @namespace = hash[:namespace] @object_bytes_fetched = hash[:object_bytes_fetched] @object_read_count = hash[:object_read_count] @p_50_latency_ms = hash[:p50_latency_ms] @p_95_latency_ms = hash[:p95_latency_ms] @payload_shard_records = hash[:payload_shard_records] @query_count = hash[:query_count] @query_mode = hash[:query_mode] @recall_at_k = hash[:recall_at_k] @record_count = hash[:record_count] @reduced_alphabet = hash[:reduced_alphabet] @rejection_reasons = (hash[:rejection_reasons] || []) @warnings = (hash[:warnings] || []) end |
Instance Attribute Details
#candidate_count ⇒ Object
Returns the value of attribute candidate_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def candidate_count @candidate_count end |
#feasible ⇒ Object
Returns the value of attribute feasible.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def feasible @feasible end |
#index ⇒ Object
Returns the value of attribute index.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def index @index end |
#index_generation ⇒ Object
Returns the value of attribute index_generation.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def index_generation @index_generation end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def kmer_size @kmer_size end |
#max_hits ⇒ Object
Returns the value of attribute max_hits.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def max_hits @max_hits end |
#mean_object_bytes_per_query ⇒ Object
Returns the value of attribute mean_object_bytes_per_query.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def mean_object_bytes_per_query @mean_object_bytes_per_query end |
#mean_object_reads_per_query ⇒ Object
Returns the value of attribute mean_object_reads_per_query.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def mean_object_reads_per_query @mean_object_reads_per_query end |
#minimizer_window ⇒ Object
Returns the value of attribute minimizer_window.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def minimizer_window @minimizer_window end |
#namespace ⇒ Object
Returns the value of attribute namespace.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def namespace @namespace end |
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def object_bytes_fetched @object_bytes_fetched end |
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def object_read_count @object_read_count end |
#p_50_latency_ms ⇒ Object
Returns the value of attribute p_50_latency_ms.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def p_50_latency_ms @p_50_latency_ms end |
#p_95_latency_ms ⇒ Object
Returns the value of attribute p_95_latency_ms.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def p_95_latency_ms @p_95_latency_ms end |
#payload_shard_records ⇒ Object
Returns the value of attribute payload_shard_records.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def payload_shard_records @payload_shard_records end |
#query_count ⇒ Object
Returns the value of attribute query_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def query_count @query_count end |
#query_mode ⇒ Object
Returns the value of attribute query_mode.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def query_mode @query_mode end |
#recall_at_k ⇒ Object
Returns the value of attribute recall_at_k.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def recall_at_k @recall_at_k end |
#record_count ⇒ Object
Returns the value of attribute record_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def record_count @record_count end |
#reduced_alphabet ⇒ Object
Returns the value of attribute reduced_alphabet.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def reduced_alphabet @reduced_alphabet end |
#rejection_reasons ⇒ Object
Returns the value of attribute rejection_reasons.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def rejection_reasons @rejection_reasons end |
#warnings ⇒ Object
Returns the value of attribute warnings.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_candidate_sweep_row.rb', line 33 def warnings @warnings end |