Class: Rafflesia::SequenceSeedIndexSearchMetrics

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb

Constant Summary collapse

HASH_ATTRS =
{
  alignment_reranked_count: :alignment_reranked_count,
  block_cache_hits: :block_cache_hits,
  block_cache_misses: :block_cache_misses,
  candidate_count: :candidate_count,
  directory_bytes_fetched: :directory_bytes_fetched,
  directory_object_id: :directory_object_id,
  distinct_query_kmer_count: :distinct_query_kmer_count,
  kmer_size: :kmer_size,
  manifest_object_id: :manifest_object_id,
  matched_query_token_count: :matched_query_token_count,
  materialized_database_bytes: :materialized_database_bytes,
  object_bytes_fetched: :object_bytes_fetched,
  object_read_count: :object_read_count,
  order_by: :order_by,
  payload_blocks_fetched: :payload_blocks_fetched,
  payload_bytes_fetched: :payload_bytes_fetched,
  payload_lite: :payload_lite,
  payload_sequences_available: :payload_sequences_available,
  posting_blocks_fetched: :posting_blocks_fetched,
  posting_bytes_fetched: :posting_bytes_fetched,
  query_kmer_count: :query_kmer_count,
  read_concurrency: :read_concurrency,
  returned_candidate_count: :returned_candidate_count,
  segment_count: :segment_count,
  segment_id: :segment_id,
  segment_level: :segment_level,
  segment_ordinal: :segment_ordinal,
  selected_segment_count: :selected_segment_count,
  skipped_segment_count: :skipped_segment_count,
  wal_bytes_fetched: :wal_bytes_fetched,
  wal_object_count: :wal_object_count,
  wal_record_count: :wal_record_count
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexSearchMetrics

Returns a new instance of SequenceSeedIndexSearchMetrics.



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
107
108
109
110
111
112
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 77

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @alignment_reranked_count = hash[:alignment_reranked_count]
  @block_cache_hits = hash[:block_cache_hits]
  @block_cache_misses = hash[:block_cache_misses]
  @candidate_count = hash[:candidate_count]
  @directory_bytes_fetched = hash[:directory_bytes_fetched]
  @directory_object_id = hash[:directory_object_id]
  @distinct_query_kmer_count = hash[:distinct_query_kmer_count]
  @kmer_size = hash[:kmer_size]
  @manifest_object_id = hash[:manifest_object_id]
  @matched_query_token_count = hash[:matched_query_token_count]
  @materialized_database_bytes = hash[:materialized_database_bytes]
  @object_bytes_fetched = hash[:object_bytes_fetched]
  @object_read_count = hash[:object_read_count]
  @order_by = hash[:order_by]
  @payload_blocks_fetched = hash[:payload_blocks_fetched]
  @payload_bytes_fetched = hash[:payload_bytes_fetched]
  @payload_lite = hash[:payload_lite]
  @payload_sequences_available = hash[:payload_sequences_available]
  @posting_blocks_fetched = hash[:posting_blocks_fetched]
  @posting_bytes_fetched = hash[:posting_bytes_fetched]
  @query_kmer_count = hash[:query_kmer_count]
  @read_concurrency = hash[:read_concurrency]
  @returned_candidate_count = hash[:returned_candidate_count]
  @segment_count = hash[:segment_count]
  @segment_id = hash[:segment_id]
  @segment_level = hash[:segment_level]
  @segment_ordinal = hash[:segment_ordinal]
  @selected_segment_count = hash[:selected_segment_count]
  @skipped_segment_count = hash[:skipped_segment_count]
  @wal_bytes_fetched = hash[:wal_bytes_fetched]
  @wal_object_count = hash[:wal_object_count]
  @wal_record_count = hash[:wal_record_count]
end

Instance Attribute Details

#alignment_reranked_countObject

Returns the value of attribute alignment_reranked_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def alignment_reranked_count
  @alignment_reranked_count
end

#block_cache_hitsObject

Returns the value of attribute block_cache_hits.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def block_cache_hits
  @block_cache_hits
end

#block_cache_missesObject

Returns the value of attribute block_cache_misses.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def block_cache_misses
  @block_cache_misses
end

#candidate_countObject

Returns the value of attribute candidate_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def candidate_count
  @candidate_count
end

#directory_bytes_fetchedObject

Returns the value of attribute directory_bytes_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def directory_bytes_fetched
  @directory_bytes_fetched
end

#directory_object_idObject

Returns the value of attribute directory_object_id.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def directory_object_id
  @directory_object_id
end

#distinct_query_kmer_countObject

Returns the value of attribute distinct_query_kmer_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def distinct_query_kmer_count
  @distinct_query_kmer_count
end

#kmer_sizeObject

Returns the value of attribute kmer_size.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def kmer_size
  @kmer_size
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def manifest_object_id
  @manifest_object_id
end

#matched_query_token_countObject

Returns the value of attribute matched_query_token_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def matched_query_token_count
  @matched_query_token_count
end

#materialized_database_bytesObject

Returns the value of attribute materialized_database_bytes.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def materialized_database_bytes
  @materialized_database_bytes
end

#object_bytes_fetchedObject

Returns the value of attribute object_bytes_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def object_bytes_fetched
  @object_bytes_fetched
end

#object_read_countObject

Returns the value of attribute object_read_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def object_read_count
  @object_read_count
end

#order_byObject

Returns the value of attribute order_by.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def order_by
  @order_by
end

#payload_blocks_fetchedObject

Returns the value of attribute payload_blocks_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def payload_blocks_fetched
  @payload_blocks_fetched
end

#payload_bytes_fetchedObject

Returns the value of attribute payload_bytes_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def payload_bytes_fetched
  @payload_bytes_fetched
end

#payload_liteObject

Returns the value of attribute payload_lite.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def payload_lite
  @payload_lite
end

#payload_sequences_availableObject

Returns the value of attribute payload_sequences_available.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def payload_sequences_available
  @payload_sequences_available
end

#posting_blocks_fetchedObject

Returns the value of attribute posting_blocks_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def posting_blocks_fetched
  @posting_blocks_fetched
end

#posting_bytes_fetchedObject

Returns the value of attribute posting_bytes_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def posting_bytes_fetched
  @posting_bytes_fetched
end

#query_kmer_countObject

Returns the value of attribute query_kmer_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def query_kmer_count
  @query_kmer_count
end

#read_concurrencyObject

Returns the value of attribute read_concurrency.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def read_concurrency
  @read_concurrency
end

#returned_candidate_countObject

Returns the value of attribute returned_candidate_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def returned_candidate_count
  @returned_candidate_count
end

#segment_countObject

Returns the value of attribute segment_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def segment_count
  @segment_count
end

#segment_idObject

Returns the value of attribute segment_id.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def segment_id
  @segment_id
end

#segment_levelObject

Returns the value of attribute segment_level.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def segment_level
  @segment_level
end

#segment_ordinalObject

Returns the value of attribute segment_ordinal.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def segment_ordinal
  @segment_ordinal
end

#selected_segment_countObject

Returns the value of attribute selected_segment_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def selected_segment_count
  @selected_segment_count
end

#skipped_segment_countObject

Returns the value of attribute skipped_segment_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def skipped_segment_count
  @skipped_segment_count
end

#wal_bytes_fetchedObject

Returns the value of attribute wal_bytes_fetched.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def wal_bytes_fetched
  @wal_bytes_fetched
end

#wal_object_countObject

Returns the value of attribute wal_object_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def wal_object_count
  @wal_object_count
end

#wal_record_countObject

Returns the value of attribute wal_record_count.



43
44
45
# File 'lib/rafflesia/sequences/sequence_seed_index_search_metrics.rb', line 43

def wal_record_count
  @wal_record_count
end