Class: Rafflesia::CorpuReleaseSequenceQueryObjectTrace
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseSequenceQueryObjectTrace
- 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
-
#candidate_observations ⇒ Object
Returns the value of attribute candidate_observations.
-
#catalog_upper_bound_score ⇒ Object
Returns the value of attribute catalog_upper_bound_score.
-
#common_seed_route_count ⇒ Object
Returns the value of attribute common_seed_route_count.
-
#cumulative_candidate_count ⇒ Object
Returns the value of attribute cumulative_candidate_count.
-
#duplicate_candidate_observations ⇒ Object
Returns the value of attribute duplicate_candidate_observations.
-
#estimated_candidate_count ⇒ Object
Returns the value of attribute estimated_candidate_count.
-
#estimated_position_count ⇒ Object
Returns the value of attribute estimated_position_count.
-
#expected_new_candidates_per_mb ⇒ Object
Returns the value of attribute expected_new_candidates_per_mb.
-
#feature_kinds ⇒ Object
Returns the value of attribute feature_kinds.
-
#new_candidate_count ⇒ Object
Returns the value of attribute new_candidate_count.
-
#new_candidates_per_mb ⇒ Object
Returns the value of attribute new_candidates_per_mb.
-
#phase ⇒ Object
Returns the value of attribute phase.
-
#planning_score ⇒ Object
Returns the value of attribute planning_score.
-
#query_bin_count ⇒ Object
Returns the value of attribute query_bin_count.
-
#read_yield_adjusted_score ⇒ Object
Returns the value of attribute read_yield_adjusted_score.
-
#read_yield_source ⇒ Object
Returns the value of attribute read_yield_source.
-
#role ⇒ Object
Returns the value of attribute role.
-
#route_count ⇒ Object
Returns the value of attribute route_count.
-
#size_bytes ⇒ Object
Returns the value of attribute size_bytes.
-
#stop_reason_after_object ⇒ Object
Returns the value of attribute stop_reason_after_object.
-
#token_count ⇒ Object
Returns the value of attribute token_count.
-
#upper_bound_score ⇒ Object
Returns the value of attribute upper_bound_score.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseSequenceQueryObjectTrace
constructor
A new instance of CorpuReleaseSequenceQueryObjectTrace.
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_observations ⇒ Object
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_score ⇒ Object
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_count ⇒ Object
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_count ⇒ Object
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_observations ⇒ Object
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_count ⇒ Object
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_count ⇒ Object
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_mb ⇒ Object
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_kinds ⇒ Object
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_count ⇒ Object
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_mb ⇒ Object
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 |
#phase ⇒ Object
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_score ⇒ Object
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_count ⇒ Object
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_score ⇒ Object
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_source ⇒ Object
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 |
#role ⇒ Object
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_count ⇒ Object
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_bytes ⇒ Object
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_object ⇒ Object
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_count ⇒ Object
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_score ⇒ Object
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 |
#uri ⇒ Object
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 |