Class: Rafflesia::CorpuReleaseSequenceQueryFamilyYield
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseSequenceQueryFamilyYield
- Defined in:
- lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb
Constant Summary collapse
- HASH_ATTRS =
{ bytes_read: :bytes_read, candidate_observations: :candidate_observations, duplicate_candidate_observations: :duplicate_candidate_observations, feature_kind: :feature_kind, new_candidate_observations: :new_candidate_observations, new_candidates_per_mb: :new_candidates_per_mb, posting_object_reads: :posting_object_reads, tokens_read: :tokens_read }.freeze
Instance Attribute Summary collapse
-
#bytes_read ⇒ Object
Returns the value of attribute bytes_read.
-
#candidate_observations ⇒ Object
Returns the value of attribute candidate_observations.
-
#duplicate_candidate_observations ⇒ Object
Returns the value of attribute duplicate_candidate_observations.
-
#feature_kind ⇒ Object
Returns the value of attribute feature_kind.
-
#new_candidate_observations ⇒ Object
Returns the value of attribute new_candidate_observations.
-
#new_candidates_per_mb ⇒ Object
Returns the value of attribute new_candidates_per_mb.
-
#posting_object_reads ⇒ Object
Returns the value of attribute posting_object_reads.
-
#tokens_read ⇒ Object
Returns the value of attribute tokens_read.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseSequenceQueryFamilyYield
constructor
A new instance of CorpuReleaseSequenceQueryFamilyYield.
Constructor Details
#initialize(json) ⇒ CorpuReleaseSequenceQueryFamilyYield
Returns a new instance of CorpuReleaseSequenceQueryFamilyYield.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @bytes_read = hash[:bytes_read] @candidate_observations = hash[:candidate_observations] @duplicate_candidate_observations = hash[:duplicate_candidate_observations] @feature_kind = hash[:feature_kind] @new_candidate_observations = hash[:new_candidate_observations] @new_candidates_per_mb = hash[:new_candidates_per_mb] @posting_object_reads = hash[:posting_object_reads] @tokens_read = hash[:tokens_read] end |
Instance Attribute Details
#bytes_read ⇒ Object
Returns the value of attribute bytes_read.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def bytes_read @bytes_read end |
#candidate_observations ⇒ Object
Returns the value of attribute candidate_observations.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def candidate_observations @candidate_observations end |
#duplicate_candidate_observations ⇒ Object
Returns the value of attribute duplicate_candidate_observations.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def duplicate_candidate_observations @duplicate_candidate_observations end |
#feature_kind ⇒ Object
Returns the value of attribute feature_kind.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def feature_kind @feature_kind end |
#new_candidate_observations ⇒ Object
Returns the value of attribute new_candidate_observations.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def new_candidate_observations @new_candidate_observations end |
#new_candidates_per_mb ⇒ Object
Returns the value of attribute new_candidates_per_mb.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def new_candidates_per_mb @new_candidates_per_mb end |
#posting_object_reads ⇒ Object
Returns the value of attribute posting_object_reads.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def posting_object_reads @posting_object_reads end |
#tokens_read ⇒ Object
Returns the value of attribute tokens_read.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_sequence_query_family_yield.rb', line 19 def tokens_read @tokens_read end |