Class: Rafflesia::SearchSegmentPlanRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SearchSegmentPlanRequest
- Defined in:
- lib/rafflesia/sequences/search_segment_plan_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ 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, query_key: :query_key, require_zero_materialization: :require_zero_materialization }.freeze
Instance Attribute Summary collapse
-
#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.
-
#query_key ⇒ Object
Returns the value of attribute query_key.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
Instance Method Summary collapse
-
#initialize(json) ⇒ SearchSegmentPlanRequest
constructor
A new instance of SearchSegmentPlanRequest.
Constructor Details
#initialize(json) ⇒ SearchSegmentPlanRequest
Returns a new instance of SearchSegmentPlanRequest.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @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] @query_key = hash[:query_key] @require_zero_materialization = hash[:require_zero_materialization] end |
Instance Attribute Details
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def manifest_path @manifest_path end |
#max_blocks ⇒ Object
Returns the value of attribute max_blocks.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def max_blocks @max_blocks end |
#max_materialized_bytes ⇒ Object
Returns the value of attribute max_materialized_bytes.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def max_materialized_bytes @max_materialized_bytes end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def max_object_reads @max_object_reads end |
#query_key ⇒ Object
Returns the value of attribute query_key.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def query_key @query_key end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
19 20 21 |
# File 'lib/rafflesia/sequences/search_segment_plan_request.rb', line 19 def require_zero_materialization @require_zero_materialization end |