Class: Rafflesia::CorpuReleaseSequenceQueryObjectTrace

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb

Constant Summary collapse

HASH_ATTRS =
{
  candidate_observations: :candidate_observations,
  catalog_upper_bound_score: :catalog_upper_bound_score,
  common_seed_route_count: :common_seed_route_count,
  cumulative_candidate_count: :cumulative_candidate_count,
  duplicate_candidate_observations: :duplicate_candidate_observations,
  estimated_candidate_count: :estimated_candidate_count,
  estimated_position_count: :estimated_position_count,
  expected_new_candidates_per_mb: :expected_new_candidates_per_mb,
  feature_kinds: :feature_kinds,
  new_candidate_count: :new_candidate_count,
  new_candidates_per_mb: :new_candidates_per_mb,
  phase: :phase,
  planning_score: :planning_score,
  query_bin_count: :query_bin_count,
  read_yield_adjusted_score: :read_yield_adjusted_score,
  read_yield_source: :read_yield_source,
  role: :role,
  route_count: :route_count,
  size_bytes: :size_bytes,
  stop_reason_after_object: :stop_reason_after_object,
  token_count: :token_count,
  upper_bound_score: :upper_bound_score,
  uri: :uri
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ CorpuReleaseSequenceQueryObjectTrace

Returns a new instance of CorpuReleaseSequenceQueryObjectTrace.



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/datasets/corpu_release_sequence_query_object_trace.rb', line 59

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @candidate_observations = hash[:candidate_observations]
  @catalog_upper_bound_score = hash[:catalog_upper_bound_score]
  @common_seed_route_count = hash[:common_seed_route_count]
  @cumulative_candidate_count = hash[:cumulative_candidate_count]
  @duplicate_candidate_observations = hash[:duplicate_candidate_observations]
  @estimated_candidate_count = hash[:estimated_candidate_count]
  @estimated_position_count = hash[:estimated_position_count]
  @expected_new_candidates_per_mb = hash[:expected_new_candidates_per_mb]
  @feature_kinds = (hash[:feature_kinds] || [])
  @new_candidate_count = hash[:new_candidate_count]
  @new_candidates_per_mb = hash[:new_candidates_per_mb]
  @phase = hash[:phase]
  @planning_score = hash[:planning_score]
  @query_bin_count = hash[:query_bin_count]
  @read_yield_adjusted_score = hash[:read_yield_adjusted_score]
  @read_yield_source = hash[:read_yield_source]
  @role = hash[:role]
  @route_count = hash[:route_count]
  @size_bytes = hash[:size_bytes]
  @stop_reason_after_object = hash[:stop_reason_after_object]
  @token_count = hash[:token_count]
  @upper_bound_score = hash[:upper_bound_score]
  @uri = hash[:uri]
end

Instance Attribute Details

#candidate_observationsObject

Returns the value of attribute candidate_observations.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def candidate_observations
  @candidate_observations
end

#catalog_upper_bound_scoreObject

Returns the value of attribute catalog_upper_bound_score.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def catalog_upper_bound_score
  @catalog_upper_bound_score
end

#common_seed_route_countObject

Returns the value of attribute common_seed_route_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def common_seed_route_count
  @common_seed_route_count
end

#cumulative_candidate_countObject

Returns the value of attribute cumulative_candidate_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def cumulative_candidate_count
  @cumulative_candidate_count
end

#duplicate_candidate_observationsObject

Returns the value of attribute duplicate_candidate_observations.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def duplicate_candidate_observations
  @duplicate_candidate_observations
end

#estimated_candidate_countObject

Returns the value of attribute estimated_candidate_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def estimated_candidate_count
  @estimated_candidate_count
end

#estimated_position_countObject

Returns the value of attribute estimated_position_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def estimated_position_count
  @estimated_position_count
end

#expected_new_candidates_per_mbObject

Returns the value of attribute expected_new_candidates_per_mb.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def expected_new_candidates_per_mb
  @expected_new_candidates_per_mb
end

#feature_kindsObject

Returns the value of attribute feature_kinds.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def feature_kinds
  @feature_kinds
end

#new_candidate_countObject

Returns the value of attribute new_candidate_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def new_candidate_count
  @new_candidate_count
end

#new_candidates_per_mbObject

Returns the value of attribute new_candidates_per_mb.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def new_candidates_per_mb
  @new_candidates_per_mb
end

#phaseObject

Returns the value of attribute phase.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def phase
  @phase
end

#planning_scoreObject

Returns the value of attribute planning_score.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def planning_score
  @planning_score
end

#query_bin_countObject

Returns the value of attribute query_bin_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def query_bin_count
  @query_bin_count
end

#read_yield_adjusted_scoreObject

Returns the value of attribute read_yield_adjusted_score.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def read_yield_adjusted_score
  @read_yield_adjusted_score
end

#read_yield_sourceObject

Returns the value of attribute read_yield_source.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def read_yield_source
  @read_yield_source
end

#roleObject

Returns the value of attribute role.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def role
  @role
end

#route_countObject

Returns the value of attribute route_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def route_count
  @route_count
end

#size_bytesObject

Returns the value of attribute size_bytes.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def size_bytes
  @size_bytes
end

#stop_reason_after_objectObject

Returns the value of attribute stop_reason_after_object.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def stop_reason_after_object
  @stop_reason_after_object
end

#token_countObject

Returns the value of attribute token_count.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def token_count
  @token_count
end

#upper_bound_scoreObject

Returns the value of attribute upper_bound_score.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def upper_bound_score
  @upper_bound_score
end

#uriObject

Returns the value of attribute uri.



34
35
36
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_object_trace.rb', line 34

def uri
  @uri
end