Class: Rafflesia::SequenceSeedIndexBenchmarkRow

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

Constant Summary collapse

HASH_ATTRS =
{
  baseline_elapsed_ms: :baseline_elapsed_ms,
  baseline_hit_count: :baseline_hit_count,
  block_cache_hits: :block_cache_hits,
  block_cache_misses: :block_cache_misses,
  candidate_count: :candidate_count,
  directory_bytes_fetched: :directory_bytes_fetched,
  materialized_db_bytes: :materialized_db_bytes,
  object_bytes_fetched: :object_bytes_fetched,
  object_read_count: :object_read_count,
  overlap_count: :overlap_count,
  overlap_fraction: :overlap_fraction,
  payload_blocks_fetched: :payload_blocks_fetched,
  payload_bytes_fetched: :payload_bytes_fetched,
  posting_blocks_fetched: :posting_blocks_fetched,
  posting_bytes_fetched: :posting_bytes_fetched,
  query: :query,
  seed_elapsed_ms: :seed_elapsed_ms,
  seed_hit_count: :seed_hit_count,
  wal_record_count: :wal_record_count
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexBenchmarkRow

Returns a new instance of SequenceSeedIndexBenchmarkRow.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 51

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @baseline_elapsed_ms = hash[:baseline_elapsed_ms]
  @baseline_hit_count = hash[:baseline_hit_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]
  @materialized_db_bytes = hash[:materialized_db_bytes]
  @object_bytes_fetched = hash[:object_bytes_fetched]
  @object_read_count = hash[:object_read_count]
  @overlap_count = hash[:overlap_count]
  @overlap_fraction = hash[:overlap_fraction]
  @payload_blocks_fetched = hash[:payload_blocks_fetched]
  @payload_bytes_fetched = hash[:payload_bytes_fetched]
  @posting_blocks_fetched = hash[:posting_blocks_fetched]
  @posting_bytes_fetched = hash[:posting_bytes_fetched]
  @query = hash[:query]
  @seed_elapsed_ms = hash[:seed_elapsed_ms]
  @seed_hit_count = hash[:seed_hit_count]
  @wal_record_count = hash[:wal_record_count]
end

Instance Attribute Details

#baseline_elapsed_msObject

Returns the value of attribute baseline_elapsed_ms.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def baseline_elapsed_ms
  @baseline_elapsed_ms
end

#baseline_hit_countObject

Returns the value of attribute baseline_hit_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def baseline_hit_count
  @baseline_hit_count
end

#block_cache_hitsObject

Returns the value of attribute block_cache_hits.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def block_cache_hits
  @block_cache_hits
end

#block_cache_missesObject

Returns the value of attribute block_cache_misses.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def block_cache_misses
  @block_cache_misses
end

#candidate_countObject

Returns the value of attribute candidate_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def candidate_count
  @candidate_count
end

#directory_bytes_fetchedObject

Returns the value of attribute directory_bytes_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def directory_bytes_fetched
  @directory_bytes_fetched
end

#materialized_db_bytesObject

Returns the value of attribute materialized_db_bytes.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def materialized_db_bytes
  @materialized_db_bytes
end

#object_bytes_fetchedObject

Returns the value of attribute object_bytes_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def object_bytes_fetched
  @object_bytes_fetched
end

#object_read_countObject

Returns the value of attribute object_read_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def object_read_count
  @object_read_count
end

#overlap_countObject

Returns the value of attribute overlap_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def overlap_count
  @overlap_count
end

#overlap_fractionObject

Returns the value of attribute overlap_fraction.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def overlap_fraction
  @overlap_fraction
end

#payload_blocks_fetchedObject

Returns the value of attribute payload_blocks_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def payload_blocks_fetched
  @payload_blocks_fetched
end

#payload_bytes_fetchedObject

Returns the value of attribute payload_bytes_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def payload_bytes_fetched
  @payload_bytes_fetched
end

#posting_blocks_fetchedObject

Returns the value of attribute posting_blocks_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def posting_blocks_fetched
  @posting_blocks_fetched
end

#posting_bytes_fetchedObject

Returns the value of attribute posting_bytes_fetched.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def posting_bytes_fetched
  @posting_bytes_fetched
end

#queryObject

Returns the value of attribute query.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def query
  @query
end

#seed_elapsed_msObject

Returns the value of attribute seed_elapsed_ms.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def seed_elapsed_ms
  @seed_elapsed_ms
end

#seed_hit_countObject

Returns the value of attribute seed_hit_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def seed_hit_count
  @seed_hit_count
end

#wal_record_countObject

Returns the value of attribute wal_record_count.



30
31
32
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_row.rb', line 30

def wal_record_count
  @wal_record_count
end