Class: Rafflesia::SequenceSeedIndexBenchmarkRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  concurrency: :concurrency,
  db: :db,
  index_id: :index_id,
  input_object_id: :input_object_id,
  input_path: :input_path,
  kmer_size: :kmer_size,
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path,
  max_hits: :max_hits,
  max_object_bytes_per_query: :max_object_bytes_per_query,
  max_object_reads_per_query: :max_object_reads_per_query,
  min_identity: :min_identity,
  min_mean_overlap_fraction: :min_mean_overlap_fraction,
  name: :name,
  payload_block_size: :payload_block_size,
  posting_block_size: :posting_block_size,
  queries_path: :queries_path,
  require_zero_materialization: :require_zero_materialization,
  rerank_alignment: :rerank_alignment,
  store_artifact: :store_artifact,
  use_block_cache: :use_block_cache,
  version: :version,
  wal_object_ids: :wal_object_ids
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexBenchmarkRequest

Returns a new instance of SequenceSeedIndexBenchmarkRequest.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 59

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @concurrency = hash[:concurrency]
  @db = hash[:db]
  @index_id = hash[:index_id]
  @input_object_id = hash[:input_object_id]
  @input_path = hash[:input_path]
  @kmer_size = hash[:kmer_size]
  @manifest_object_id = hash[:manifest_object_id]
  @manifest_path = hash[:manifest_path]
  @max_hits = hash[:max_hits]
  @max_object_bytes_per_query = hash[:max_object_bytes_per_query]
  @max_object_reads_per_query = hash[:max_object_reads_per_query]
  @min_identity = hash[:min_identity]
  @min_mean_overlap_fraction = hash[:min_mean_overlap_fraction]
  @name = hash[:name]
  @payload_block_size = hash[:payload_block_size]
  @posting_block_size = hash[:posting_block_size]
  @queries_path = hash[:queries_path]
  @require_zero_materialization = hash[:require_zero_materialization]
  @rerank_alignment = hash[:rerank_alignment]
  @store_artifact = hash[:store_artifact]
  @use_block_cache = hash[:use_block_cache]
  @version = hash[:version]
  @wal_object_ids = (hash[:wal_object_ids] || [])
end

Instance Attribute Details

#concurrencyObject

Returns the value of attribute concurrency.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def concurrency
  @concurrency
end

#dbObject

Returns the value of attribute db.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def db
  @db
end

#index_idObject

Returns the value of attribute index_id.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def index_id
  @index_id
end

#input_object_idObject

Returns the value of attribute input_object_id.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def input_object_id
  @input_object_id
end

#input_pathObject

Returns the value of attribute input_path.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def input_path
  @input_path
end

#kmer_sizeObject

Returns the value of attribute kmer_size.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def kmer_size
  @kmer_size
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def manifest_path
  @manifest_path
end

#max_hitsObject

Returns the value of attribute max_hits.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def max_hits
  @max_hits
end

#max_object_bytes_per_queryObject

Returns the value of attribute max_object_bytes_per_query.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def max_object_bytes_per_query
  @max_object_bytes_per_query
end

#max_object_reads_per_queryObject

Returns the value of attribute max_object_reads_per_query.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def max_object_reads_per_query
  @max_object_reads_per_query
end

#min_identityObject

Returns the value of attribute min_identity.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def min_identity
  @min_identity
end

#min_mean_overlap_fractionObject

Returns the value of attribute min_mean_overlap_fraction.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def min_mean_overlap_fraction
  @min_mean_overlap_fraction
end

#nameObject

Returns the value of attribute name.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def name
  @name
end

#payload_block_sizeObject

Returns the value of attribute payload_block_size.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def payload_block_size
  @payload_block_size
end

#posting_block_sizeObject

Returns the value of attribute posting_block_size.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def posting_block_size
  @posting_block_size
end

#queries_pathObject

Returns the value of attribute queries_path.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def queries_path
  @queries_path
end

#require_zero_materializationObject

Returns the value of attribute require_zero_materialization.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def require_zero_materialization
  @require_zero_materialization
end

#rerank_alignmentObject

Returns the value of attribute rerank_alignment.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def rerank_alignment
  @rerank_alignment
end

#store_artifactObject

Returns the value of attribute store_artifact.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def store_artifact
  @store_artifact
end

#use_block_cacheObject

Returns the value of attribute use_block_cache.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def use_block_cache
  @use_block_cache
end

#versionObject

Returns the value of attribute version.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def version
  @version
end

#wal_object_idsObject

Returns the value of attribute wal_object_ids.



34
35
36
# File 'lib/rafflesia/sequences/sequence_seed_index_benchmark_request.rb', line 34

def wal_object_ids
  @wal_object_ids
end