Class: Rafflesia::FoldSegmentSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentSearchRequest
- Defined in:
- lib/rafflesia/proteins/fold_segment_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, dry_run: :dry_run, exact_limit: :exact_limit, exact_verify: :exact_verify, limit: :limit, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, max_blocks: :max_blocks, max_materialized_bytes: :max_materialized_bytes, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, nprobe: :nprobe, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, query_id: :query_id, ref: :ref, relation: :relation, release: :release, require_zero_materialization: :require_zero_materialization, sort_by: :sort_by }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#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.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#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.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentSearchRequest
constructor
A new instance of FoldSegmentSearchRequest.
Constructor Details
#initialize(json) ⇒ FoldSegmentSearchRequest
Returns a new instance of FoldSegmentSearchRequest.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 57 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @dry_run = hash[:dry_run] @exact_limit = hash[:exact_limit] @exact_verify = hash[:exact_verify] @limit = hash[:limit] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @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] @nprobe = hash[:nprobe] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @query_id = hash[:query_id] @ref = hash[:ref] @relation = hash[:relation] @release = hash[:release] @require_zero_materialization = hash[:require_zero_materialization] @sort_by = (hash[:sort_by] || []) end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def database @database end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def dry_run @dry_run end |
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def exact_limit @exact_limit end |
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def exact_verify @exact_verify end |
#limit ⇒ Object
Returns the value of attribute limit.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def limit @limit end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def manifest_path @manifest_path end |
#max_blocks ⇒ Object
Returns the value of attribute max_blocks.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def max_blocks @max_blocks end |
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def max_materialized_bytes @max_materialized_bytes end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def max_object_reads @max_object_reads end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def nprobe @nprobe end |
#output_format ⇒ Object
Returns the value of attribute output_format.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def preview_limit @preview_limit end |
#query_id ⇒ Object
Returns the value of attribute query_id.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def query_id @query_id end |
#ref ⇒ Object
Returns the value of attribute ref.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def ref @ref end |
#relation ⇒ Object
Returns the value of attribute relation.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def release @release end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def require_zero_materialization @require_zero_materialization end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
33 34 35 |
# File 'lib/rafflesia/proteins/fold_segment_search_request.rb', line 33 def sort_by @sort_by end |