Class: Rafflesia::FoldSearchBenchmarkRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSearchBenchmarkRequest
- Defined in:
- lib/rafflesia/proteins/fold_search_benchmark_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ concurrency: :concurrency, exact_limit: :exact_limit, exact_verify: :exact_verify, index_ref: :index_ref, limit: :limit, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, max_blocks_per_query: :max_blocks_per_query, max_object_bytes_per_query: :max_object_bytes_per_query, max_object_reads_per_query: :max_object_reads_per_query, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_hit_overlap_fraction: :min_hit_overlap_fraction, min_recall_at_1: :min_recall_at_1, min_recall_at_10: :min_recall_at_10, min_recall_at_100: :min_recall_at_100, nprobe: :nprobe, profile: :profile, query_ids: :query_ids, recall_at: :recall_at, require_exact_verification: :require_exact_verification, require_zero_materialization: :require_zero_materialization, segment_manifest_object_id: :segment_manifest_object_id, segment_manifest_path: :segment_manifest_path, segment_ref: :segment_ref, store_artifact: :store_artifact, target_dir: :target_dir, verify_index: :verify_index }.freeze
Instance Attribute Summary collapse
-
#concurrency ⇒ Object
Returns the value of attribute concurrency.
-
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
-
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
-
#index_ref ⇒ Object
Returns the value of attribute index_ref.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
-
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
-
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_fraction.
-
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
-
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
-
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#query_ids ⇒ Object
Returns the value of attribute query_ids.
-
#recall_at ⇒ Object
Returns the value of attribute recall_at.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#segment_manifest_object_id ⇒ Object
Returns the value of attribute segment_manifest_object_id.
-
#segment_manifest_path ⇒ Object
Returns the value of attribute segment_manifest_path.
-
#segment_ref ⇒ Object
Returns the value of attribute segment_ref.
-
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#verify_index ⇒ Object
Returns the value of attribute verify_index.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSearchBenchmarkRequest
constructor
A new instance of FoldSearchBenchmarkRequest.
Constructor Details
#initialize(json) ⇒ FoldSearchBenchmarkRequest
Returns a new instance of FoldSearchBenchmarkRequest.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 67 def initialize(json) super() hash = self.class.normalize(json) @concurrency = hash[:concurrency] @exact_limit = hash[:exact_limit] @exact_verify = hash[:exact_verify] @index_ref = hash[:index_ref] @limit = hash[:limit] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @max_blocks_per_query = hash[:max_blocks_per_query] @max_object_bytes_per_query = hash[:max_object_bytes_per_query] @max_object_reads_per_query = hash[:max_object_reads_per_query] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_hit_overlap_fraction = hash[:min_hit_overlap_fraction] @min_recall_at_1 = hash[:min_recall_at_1] @min_recall_at_10 = hash[:min_recall_at_10] @min_recall_at_100 = hash[:min_recall_at_100] @nprobe = hash[:nprobe] @profile = hash[:profile] @query_ids = (hash[:query_ids] || []) @recall_at = (hash[:recall_at] || []) @require_exact_verification = hash[:require_exact_verification] @require_zero_materialization = hash[:require_zero_materialization] @segment_manifest_object_id = hash[:segment_manifest_object_id] @segment_manifest_path = hash[:segment_manifest_path] @segment_ref = hash[:segment_ref] @store_artifact = hash[:store_artifact] @target_dir = hash[:target_dir] @verify_index = hash[:verify_index] end |
Instance Attribute Details
#concurrency ⇒ Object
Returns the value of attribute concurrency.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def concurrency @concurrency end |
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def exact_limit @exact_limit end |
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def exact_verify @exact_verify end |
#index_ref ⇒ Object
Returns the value of attribute index_ref.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def index_ref @index_ref end |
#limit ⇒ Object
Returns the value of attribute limit.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def limit @limit end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def manifest_path @manifest_path end |
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def max_blocks_per_query @max_blocks_per_query end |
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def max_object_bytes_per_query @max_object_bytes_per_query end |
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def max_object_reads_per_query @max_object_reads_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_fraction.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def min_hit_overlap_fraction @min_hit_overlap_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def min_recall_at_100 @min_recall_at_100 end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def nprobe @nprobe end |
#profile ⇒ Object
Returns the value of attribute profile.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def profile @profile end |
#query_ids ⇒ Object
Returns the value of attribute query_ids.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def query_ids @query_ids end |
#recall_at ⇒ Object
Returns the value of attribute recall_at.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def recall_at @recall_at end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def require_exact_verification @require_exact_verification end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def require_zero_materialization @require_zero_materialization end |
#segment_manifest_object_id ⇒ Object
Returns the value of attribute segment_manifest_object_id.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def segment_manifest_object_id @segment_manifest_object_id end |
#segment_manifest_path ⇒ Object
Returns the value of attribute segment_manifest_path.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def segment_manifest_path @segment_manifest_path end |
#segment_ref ⇒ Object
Returns the value of attribute segment_ref.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def segment_ref @segment_ref end |
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def store_artifact @store_artifact end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def target_dir @target_dir end |
#verify_index ⇒ Object
Returns the value of attribute verify_index.
38 39 40 |
# File 'lib/rafflesia/proteins/fold_search_benchmark_request.rb', line 38 def verify_index @verify_index end |