Class: Rafflesia::SequenceSeedIndexSegmentPlanData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceSeedIndexSegmentPlanData
- Defined in:
- lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ directory_object_id: :directory_object_id, directory_read: :directory_read, fasta_object_id: :fasta_object_id, index_id: :index_id, indexed_object_bytes: :indexed_object_bytes, is_skipped: :is_skipped, kmer_size: :kmer_size, level: :level, manifest_object_id: :manifest_object_id, matched_query_token_count: :matched_query_token_count, ordinal: :ordinal, payload_block_count: :payload_block_count, payload_selection: :payload_selection, planned_object_bytes: :planned_object_bytes, planned_object_read_count: :planned_object_read_count, posting_block_count: :posting_block_count, posting_reads: :posting_reads, segment_id: :segment_id, selected_posting_block_count: :selected_posting_block_count, selected_posting_count: :selected_posting_count, skip_reason: :skip_reason, unmatched_query_token_count: :unmatched_query_token_count }.freeze
Instance Attribute Summary collapse
-
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
-
#directory_read ⇒ Object
Returns the value of attribute directory_read.
-
#fasta_object_id ⇒ Object
Returns the value of attribute fasta_object_id.
-
#index_id ⇒ Object
Returns the value of attribute index_id.
-
#indexed_object_bytes ⇒ Object
Returns the value of attribute indexed_object_bytes.
-
#is_skipped ⇒ Object
Returns the value of attribute is_skipped.
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#level ⇒ Object
Returns the value of attribute level.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#matched_query_token_count ⇒ Object
Returns the value of attribute matched_query_token_count.
-
#ordinal ⇒ Object
Returns the value of attribute ordinal.
-
#payload_block_count ⇒ Object
Returns the value of attribute payload_block_count.
-
#payload_selection ⇒ Object
Returns the value of attribute payload_selection.
-
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
-
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
-
#posting_block_count ⇒ Object
Returns the value of attribute posting_block_count.
-
#posting_reads ⇒ Object
Returns the value of attribute posting_reads.
-
#segment_id ⇒ Object
Returns the value of attribute segment_id.
-
#selected_posting_block_count ⇒ Object
Returns the value of attribute selected_posting_block_count.
-
#selected_posting_count ⇒ Object
Returns the value of attribute selected_posting_count.
-
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
-
#unmatched_query_token_count ⇒ Object
Returns the value of attribute unmatched_query_token_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceSeedIndexSegmentPlanData
constructor
A new instance of SequenceSeedIndexSegmentPlanData.
Constructor Details
#initialize(json) ⇒ SequenceSeedIndexSegmentPlanData
Returns a new instance of SequenceSeedIndexSegmentPlanData.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 57 def initialize(json) super() hash = self.class.normalize(json) @directory_object_id = hash[:directory_object_id] @directory_read = hash[:directory_read] ? Rafflesia::SequenceSeedIndexObjectReadPlan.new(hash[:directory_read]) : nil @fasta_object_id = hash[:fasta_object_id] @index_id = hash[:index_id] @indexed_object_bytes = hash[:indexed_object_bytes] @is_skipped = hash[:is_skipped] @kmer_size = hash[:kmer_size] @level = hash[:level] @manifest_object_id = hash[:manifest_object_id] @matched_query_token_count = hash[:matched_query_token_count] @ordinal = hash[:ordinal] @payload_block_count = hash[:payload_block_count] @payload_selection = hash[:payload_selection] @planned_object_bytes = hash[:planned_object_bytes] @planned_object_read_count = hash[:planned_object_read_count] @posting_block_count = hash[:posting_block_count] @posting_reads = (hash[:posting_reads] || []).map { |item| item ? Rafflesia::SequenceSeedIndexObjectReadPlan.new(item) : nil } @segment_id = hash[:segment_id] @selected_posting_block_count = hash[:selected_posting_block_count] @selected_posting_count = hash[:selected_posting_count] @skip_reason = hash[:skip_reason] @unmatched_query_token_count = hash[:unmatched_query_token_count] end |
Instance Attribute Details
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def directory_object_id @directory_object_id end |
#directory_read ⇒ Object
Returns the value of attribute directory_read.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def directory_read @directory_read end |
#fasta_object_id ⇒ Object
Returns the value of attribute fasta_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def fasta_object_id @fasta_object_id end |
#index_id ⇒ Object
Returns the value of attribute index_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def index_id @index_id end |
#indexed_object_bytes ⇒ Object
Returns the value of attribute indexed_object_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def indexed_object_bytes @indexed_object_bytes end |
#is_skipped ⇒ Object
Returns the value of attribute is_skipped.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def is_skipped @is_skipped end |
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def kmer_size @kmer_size end |
#level ⇒ Object
Returns the value of attribute level.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def level @level end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def manifest_object_id @manifest_object_id end |
#matched_query_token_count ⇒ Object
Returns the value of attribute matched_query_token_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def matched_query_token_count @matched_query_token_count end |
#ordinal ⇒ Object
Returns the value of attribute ordinal.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def ordinal @ordinal end |
#payload_block_count ⇒ Object
Returns the value of attribute payload_block_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def payload_block_count @payload_block_count end |
#payload_selection ⇒ Object
Returns the value of attribute payload_selection.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def payload_selection @payload_selection end |
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def planned_object_bytes @planned_object_bytes end |
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def planned_object_read_count @planned_object_read_count end |
#posting_block_count ⇒ Object
Returns the value of attribute posting_block_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def posting_block_count @posting_block_count end |
#posting_reads ⇒ Object
Returns the value of attribute posting_reads.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def posting_reads @posting_reads end |
#segment_id ⇒ Object
Returns the value of attribute segment_id.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def segment_id @segment_id end |
#selected_posting_block_count ⇒ Object
Returns the value of attribute selected_posting_block_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def selected_posting_block_count @selected_posting_block_count end |
#selected_posting_count ⇒ Object
Returns the value of attribute selected_posting_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def selected_posting_count @selected_posting_count end |
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def skip_reason @skip_reason end |
#unmatched_query_token_count ⇒ Object
Returns the value of attribute unmatched_query_token_count.
33 34 35 |
# File 'lib/rafflesia/sequences/sequence_seed_index_segment_plan_data.rb', line 33 def unmatched_query_token_count @unmatched_query_token_count end |