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