Class: Rafflesia::FoldCollectionSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionSearchRequest
- Defined in:
- lib/rafflesia/proteins/fold_collection_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ calibration_object_id: :calibration_object_id, distributed: :distributed, dry_run: :dry_run, exact_limit: :exact_limit, exact_verify: :exact_verify, limit: :limit, max_blocks: :max_blocks, max_materialized_bytes: :max_materialized_bytes, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, max_segments: :max_segments, max_workers: :max_workers, nprobe: :nprobe, query_id: :query_id, ref: :ref, require_complete: :require_complete, require_routing: :require_routing, require_zero_materialization: :require_zero_materialization, routing_mode: :routing_mode, segment_refs: :segment_refs, store_plan: :store_plan, target_score_coverage: :target_score_coverage, use_calibration: :use_calibration }.freeze
Instance Attribute Summary collapse
-
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
-
#distributed ⇒ Object
Returns the value of attribute distributed.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
-
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#max_blocks ⇒ Object
Returns the value of attribute max_blocks.
-
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#max_segments ⇒ Object
Returns the value of attribute max_segments.
-
#max_workers ⇒ Object
Returns the value of attribute max_workers.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#require_complete ⇒ Object
Returns the value of attribute require_complete.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
-
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
-
#store_plan ⇒ Object
Returns the value of attribute store_plan.
-
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
-
#use_calibration ⇒ Object
Returns the value of attribute use_calibration.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionSearchRequest
constructor
A new instance of FoldCollectionSearchRequest.
Constructor Details
#initialize(json) ⇒ FoldCollectionSearchRequest
Returns a new instance of FoldCollectionSearchRequest.
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/proteins/fold_collection_search_request.rb', line 59 def initialize(json) super() hash = self.class.normalize(json) @calibration_object_id = hash[:calibration_object_id] @distributed = hash[:distributed] @dry_run = hash[:dry_run] @exact_limit = hash[:exact_limit] @exact_verify = hash[:exact_verify] @limit = hash[:limit] @max_blocks = hash[:max_blocks] @max_materialized_bytes = hash[:max_materialized_bytes] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @max_segments = hash[:max_segments] @max_workers = hash[:max_workers] @nprobe = hash[:nprobe] @query_id = hash[:query_id] @ref = hash[:ref] @require_complete = hash[:require_complete] @require_routing = hash[:require_routing] @require_zero_materialization = hash[:require_zero_materialization] @routing_mode = hash[:routing_mode] @segment_refs = (hash[:segment_refs] || []) @store_plan = hash[:store_plan] @target_score_coverage = hash[:target_score_coverage] @use_calibration = hash[:use_calibration] end |
Instance Attribute Details
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def calibration_object_id @calibration_object_id end |
#distributed ⇒ Object
Returns the value of attribute distributed.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def distributed @distributed end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def dry_run @dry_run end |
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def exact_limit @exact_limit end |
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def exact_verify @exact_verify end |
#limit ⇒ Object
Returns the value of attribute limit.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def limit @limit end |
#max_blocks ⇒ Object
Returns the value of attribute max_blocks.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_blocks @max_blocks end |
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_materialized_bytes @max_materialized_bytes end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_object_reads @max_object_reads end |
#max_segments ⇒ Object
Returns the value of attribute max_segments.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_segments @max_segments end |
#max_workers ⇒ Object
Returns the value of attribute max_workers.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def max_workers @max_workers end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def nprobe @nprobe end |
#query_id ⇒ Object
Returns the value of attribute query_id.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def query_id @query_id end |
#ref ⇒ Object
Returns the value of attribute ref.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def ref @ref end |
#require_complete ⇒ Object
Returns the value of attribute require_complete.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def require_complete @require_complete end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def require_routing @require_routing end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def require_zero_materialization @require_zero_materialization end |
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def routing_mode @routing_mode end |
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def segment_refs @segment_refs end |
#store_plan ⇒ Object
Returns the value of attribute store_plan.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def store_plan @store_plan end |
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def target_score_coverage @target_score_coverage end |
#use_calibration ⇒ Object
Returns the value of attribute use_calibration.
34 35 36 |
# File 'lib/rafflesia/proteins/fold_collection_search_request.rb', line 34 def use_calibration @use_calibration end |