Class: Rafflesia::CorpuReleaseSequenceQueryFamilyYield

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_readObject

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_observationsObject

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_observationsObject

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_kindObject

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_observationsObject

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_mbObject

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_readsObject

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_readObject

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