Class: Rafflesia::BiosearchQueryProfileIngestData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BiosearchQueryProfileIngestData
- Defined in:
- lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ dry_run: :dry_run, engine: :engine, expected_row_count: :expected_row_count, fanout_tables: :fanout_tables, ingest_mode: :ingest_mode, ingestion_id: :ingestion_id, insert_chunk_bytes: :insert_chunk_bytes, insert_chunk_count: :insert_chunk_count, inserted_row_count: :inserted_row_count, is_skipped: :is_skipped, object: :object, path: :path, profile_json_column: :profile_json_column, profile_kind: :profile_kind, row_count: :row_count, skip_reason: :skip_reason, source_sha256: :source_sha_256, source_size_bytes: :source_size_bytes, table_name: :table_name, warnings: :warnings }.freeze
Instance Attribute Summary collapse
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#expected_row_count ⇒ Object
Returns the value of attribute expected_row_count.
-
#fanout_tables ⇒ Object
Returns the value of attribute fanout_tables.
-
#ingest_mode ⇒ Object
Returns the value of attribute ingest_mode.
-
#ingestion_id ⇒ Object
Returns the value of attribute ingestion_id.
-
#insert_chunk_bytes ⇒ Object
Returns the value of attribute insert_chunk_bytes.
-
#insert_chunk_count ⇒ Object
Returns the value of attribute insert_chunk_count.
-
#inserted_row_count ⇒ Object
Returns the value of attribute inserted_row_count.
-
#is_skipped ⇒ Object
Returns the value of attribute is_skipped.
-
#object ⇒ Object
Returns the value of attribute object.
-
#path ⇒ Object
Returns the value of attribute path.
-
#profile_json_column ⇒ Object
Returns the value of attribute profile_json_column.
-
#profile_kind ⇒ Object
Returns the value of attribute profile_kind.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
-
#source_sha_256 ⇒ Object
Returns the value of attribute source_sha_256.
-
#source_size_bytes ⇒ Object
Returns the value of attribute source_size_bytes.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(json) ⇒ BiosearchQueryProfileIngestData
constructor
A new instance of BiosearchQueryProfileIngestData.
Constructor Details
#initialize(json) ⇒ BiosearchQueryProfileIngestData
Returns a new instance of BiosearchQueryProfileIngestData.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @dry_run = hash[:dry_run] @engine = hash[:engine] @expected_row_count = hash[:expected_row_count] @fanout_tables = (hash[:fanout_tables] || []) @ingest_mode = hash[:ingest_mode] @ingestion_id = hash[:ingestion_id] @insert_chunk_bytes = hash[:insert_chunk_bytes] @insert_chunk_count = hash[:insert_chunk_count] @inserted_row_count = hash[:inserted_row_count] @is_skipped = hash[:is_skipped] @object = hash[:object] ? Rafflesia::ObjectRef.new(hash[:object]) : nil @path = hash[:path] @profile_json_column = hash[:profile_json_column] @profile_kind = hash[:profile_kind] @row_count = hash[:row_count] @skip_reason = hash[:skip_reason] @source_sha_256 = hash[:source_sha256] @source_size_bytes = hash[:source_size_bytes] @table_name = hash[:table_name] @warnings = (hash[:warnings] || []) end |
Instance Attribute Details
#dry_run ⇒ Object
Returns the value of attribute dry_run.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def dry_run @dry_run end |
#engine ⇒ Object
Returns the value of attribute engine.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def engine @engine end |
#expected_row_count ⇒ Object
Returns the value of attribute expected_row_count.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def expected_row_count @expected_row_count end |
#fanout_tables ⇒ Object
Returns the value of attribute fanout_tables.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def fanout_tables @fanout_tables end |
#ingest_mode ⇒ Object
Returns the value of attribute ingest_mode.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def ingest_mode @ingest_mode end |
#ingestion_id ⇒ Object
Returns the value of attribute ingestion_id.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def ingestion_id @ingestion_id end |
#insert_chunk_bytes ⇒ Object
Returns the value of attribute insert_chunk_bytes.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def insert_chunk_bytes @insert_chunk_bytes end |
#insert_chunk_count ⇒ Object
Returns the value of attribute insert_chunk_count.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def insert_chunk_count @insert_chunk_count end |
#inserted_row_count ⇒ Object
Returns the value of attribute inserted_row_count.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def inserted_row_count @inserted_row_count end |
#is_skipped ⇒ Object
Returns the value of attribute is_skipped.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def is_skipped @is_skipped end |
#object ⇒ Object
Returns the value of attribute object.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def object @object end |
#path ⇒ Object
Returns the value of attribute path.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def path @path end |
#profile_json_column ⇒ Object
Returns the value of attribute profile_json_column.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def profile_json_column @profile_json_column end |
#profile_kind ⇒ Object
Returns the value of attribute profile_kind.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def profile_kind @profile_kind end |
#row_count ⇒ Object
Returns the value of attribute row_count.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def row_count @row_count end |
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def skip_reason @skip_reason end |
#source_sha_256 ⇒ Object
Returns the value of attribute source_sha_256.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def source_sha_256 @source_sha_256 end |
#source_size_bytes ⇒ Object
Returns the value of attribute source_size_bytes.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def source_size_bytes @source_size_bytes end |
#table_name ⇒ Object
Returns the value of attribute table_name.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def table_name @table_name end |
#warnings ⇒ Object
Returns the value of attribute warnings.
31 32 33 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_data.rb', line 31 def warnings @warnings end |