Class: Rafflesia::FoldSegmentExplainRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/fold_segment_explain_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  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,
  query_id: :query_id,
  ref: :ref,
  require_zero_materialization: :require_zero_materialization,
  workload_profile: :workload_profile
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldSegmentExplainRequest

Returns a new instance of FoldSegmentExplainRequest.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 37

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @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]
  @query_id = hash[:query_id]
  @ref = hash[:ref]
  @require_zero_materialization = hash[:require_zero_materialization]
  @workload_profile = hash[:workload_profile]
end

Instance Attribute Details

#limitObject

Returns the value of attribute limit.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def limit
  @limit
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def manifest_path
  @manifest_path
end

#max_blocksObject

Returns the value of attribute max_blocks.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def max_blocks
  @max_blocks
end

#max_materialized_bytesObject

Returns the value of attribute max_materialized_bytes.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def max_materialized_bytes
  @max_materialized_bytes
end

#max_object_bytesObject

Returns the value of attribute max_object_bytes.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def max_object_bytes
  @max_object_bytes
end

#max_object_readsObject

Returns the value of attribute max_object_reads.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def max_object_reads
  @max_object_reads
end

#nprobeObject

Returns the value of attribute nprobe.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def nprobe
  @nprobe
end

#query_idObject

Returns the value of attribute query_id.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def query_id
  @query_id
end

#refObject

Returns the value of attribute ref.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def ref
  @ref
end

#require_zero_materializationObject

Returns the value of attribute require_zero_materialization.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def require_zero_materialization
  @require_zero_materialization
end

#workload_profileObject

Returns the value of attribute workload_profile.



23
24
25
# File 'lib/rafflesia/proteins/fold_segment_explain_request.rb', line 23

def workload_profile
  @workload_profile
end