Class: Rafflesia::BiosearchQueryProfileAuditRunRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  allow_duplicate: :allow_duplicate,
  engine: :engine,
  expected_row_count: :expected_row_count,
  ingest_mode: :ingest_mode,
  insert_chunk_bytes: :insert_chunk_bytes,
  limit: :limit,
  max_bytes_per_query: :max_bytes_per_query,
  max_bytes_per_query_increase: :max_bytes_per_query_increase,
  max_final_recall_regression: :max_final_recall_regression,
  max_latency_ms: :max_latency_ms,
  max_latency_ms_increase: :max_latency_ms_increase,
  max_object_reads_increase: :max_object_reads_increase,
  max_object_reads_per_query: :max_object_reads_per_query,
  max_result_set_ids: :max_result_set_ids,
  min_candidate_pool_recall: :min_candidate_pool_recall,
  min_final_recall_at_k: :min_final_recall_at_k,
  output_dir: :output_dir,
  path: :path,
  previous_audit_path: :previous_audit_path,
  timeout_ms: :timeout_ms,
  write_markdown: :write_markdown
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ BiosearchQueryProfileAuditRunRequest

Returns a new instance of BiosearchQueryProfileAuditRunRequest.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 55

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @allow_duplicate = hash[:allow_duplicate]
  @engine = hash[:engine]
  @expected_row_count = hash[:expected_row_count]
  @ingest_mode = hash[:ingest_mode]
  @insert_chunk_bytes = hash[:insert_chunk_bytes]
  @limit = hash[:limit]
  @max_bytes_per_query = hash[:max_bytes_per_query]
  @max_bytes_per_query_increase = hash[:max_bytes_per_query_increase]
  @max_final_recall_regression = hash[:max_final_recall_regression]
  @max_latency_ms = hash[:max_latency_ms]
  @max_latency_ms_increase = hash[:max_latency_ms_increase]
  @max_object_reads_increase = hash[:max_object_reads_increase]
  @max_object_reads_per_query = hash[:max_object_reads_per_query]
  @max_result_set_ids = hash[:max_result_set_ids]
  @min_candidate_pool_recall = hash[:min_candidate_pool_recall]
  @min_final_recall_at_k = hash[:min_final_recall_at_k]
  @output_dir = hash[:output_dir]
  @path = hash[:path]
  @previous_audit_path = hash[:previous_audit_path]
  @timeout_ms = hash[:timeout_ms]
  @write_markdown = hash[:write_markdown]
end

Instance Attribute Details

#allow_duplicateObject

Returns the value of attribute allow_duplicate.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def allow_duplicate
  @allow_duplicate
end

#engineObject

Returns the value of attribute engine.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def engine
  @engine
end

#expected_row_countObject

Returns the value of attribute expected_row_count.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def expected_row_count
  @expected_row_count
end

#ingest_modeObject

Returns the value of attribute ingest_mode.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def ingest_mode
  @ingest_mode
end

#insert_chunk_bytesObject

Returns the value of attribute insert_chunk_bytes.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def insert_chunk_bytes
  @insert_chunk_bytes
end

#limitObject

Returns the value of attribute limit.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def limit
  @limit
end

#max_bytes_per_queryObject

Returns the value of attribute max_bytes_per_query.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_bytes_per_query
  @max_bytes_per_query
end

#max_bytes_per_query_increaseObject

Returns the value of attribute max_bytes_per_query_increase.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_bytes_per_query_increase
  @max_bytes_per_query_increase
end

#max_final_recall_regressionObject

Returns the value of attribute max_final_recall_regression.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_final_recall_regression
  @max_final_recall_regression
end

#max_latency_msObject

Returns the value of attribute max_latency_ms.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_latency_ms
  @max_latency_ms
end

#max_latency_ms_increaseObject

Returns the value of attribute max_latency_ms_increase.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_latency_ms_increase
  @max_latency_ms_increase
end

#max_object_reads_increaseObject

Returns the value of attribute max_object_reads_increase.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_object_reads_increase
  @max_object_reads_increase
end

#max_object_reads_per_queryObject

Returns the value of attribute max_object_reads_per_query.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_object_reads_per_query
  @max_object_reads_per_query
end

#max_result_set_idsObject

Returns the value of attribute max_result_set_ids.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def max_result_set_ids
  @max_result_set_ids
end

#min_candidate_pool_recallObject

Returns the value of attribute min_candidate_pool_recall.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def min_candidate_pool_recall
  @min_candidate_pool_recall
end

#min_final_recall_at_kObject

Returns the value of attribute min_final_recall_at_k.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def min_final_recall_at_k
  @min_final_recall_at_k
end

#output_dirObject

Returns the value of attribute output_dir.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def output_dir
  @output_dir
end

#pathObject

Returns the value of attribute path.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def path
  @path
end

#previous_audit_pathObject

Returns the value of attribute previous_audit_path.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def previous_audit_path
  @previous_audit_path
end

#timeout_msObject

Returns the value of attribute timeout_ms.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def timeout_ms
  @timeout_ms
end

#write_markdownObject

Returns the value of attribute write_markdown.



32
33
34
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_run_request.rb', line 32

def write_markdown
  @write_markdown
end