Class: Rafflesia::DatasetSourceSnapshotStatusData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatasetSourceSnapshotStatusData
- Defined in:
- lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ clickhouse_dataset_row_count: :clickhouse_dataset_row_count, clickhouse_expected_schema_version: :clickhouse_expected_schema_version, clickhouse_ingest_lag_rows: :clickhouse_ingest_lag_rows, clickhouse_relation: :clickhouse_relation, clickhouse_row_count: :clickhouse_row_count, clickhouse_snapshot_row_count: :clickhouse_snapshot_row_count, clickhouse_snapshot_row_drift: :clickhouse_snapshot_row_drift, clickhouse_snapshot_schema_versions: :clickhouse_snapshot_schema_versions, clickhouse_status_code: :clickhouse_status_code, clickhouse_status_description: :clickhouse_status_description, clickhouse_status_reason: :clickhouse_status_reason, database: :database, is_clickhouse_configured: :is_clickhouse_configured, is_clickhouse_ingested: :is_clickhouse_ingested, is_clickhouse_queryable: :is_clickhouse_queryable, is_clickhouse_table_present: :is_clickhouse_table_present, is_relation_reachable: :is_relation_reachable, record_count: :record_count, ref: :ref, relation: :relation, relation_row_count: :relation_row_count, release: :release, source: :source, version: :version }.freeze
Instance Attribute Summary collapse
-
#clickhouse_dataset_row_count ⇒ Object
Returns the value of attribute clickhouse_dataset_row_count.
-
#clickhouse_expected_schema_version ⇒ Object
Returns the value of attribute clickhouse_expected_schema_version.
-
#clickhouse_ingest_lag_rows ⇒ Object
Returns the value of attribute clickhouse_ingest_lag_rows.
-
#clickhouse_relation ⇒ Object
Returns the value of attribute clickhouse_relation.
-
#clickhouse_row_count ⇒ Object
Returns the value of attribute clickhouse_row_count.
-
#clickhouse_snapshot_row_count ⇒ Object
Returns the value of attribute clickhouse_snapshot_row_count.
-
#clickhouse_snapshot_row_drift ⇒ Object
Returns the value of attribute clickhouse_snapshot_row_drift.
-
#clickhouse_snapshot_schema_versions ⇒ Object
Returns the value of attribute clickhouse_snapshot_schema_versions.
-
#clickhouse_status_code ⇒ Object
Returns the value of attribute clickhouse_status_code.
-
#clickhouse_status_description ⇒ Object
Returns the value of attribute clickhouse_status_description.
-
#clickhouse_status_reason ⇒ Object
Returns the value of attribute clickhouse_status_reason.
-
#database ⇒ Object
Returns the value of attribute database.
-
#is_clickhouse_configured ⇒ Object
Returns the value of attribute is_clickhouse_configured.
-
#is_clickhouse_ingested ⇒ Object
Returns the value of attribute is_clickhouse_ingested.
-
#is_clickhouse_queryable ⇒ Object
Returns the value of attribute is_clickhouse_queryable.
-
#is_clickhouse_table_present ⇒ Object
Returns the value of attribute is_clickhouse_table_present.
-
#is_relation_reachable ⇒ Object
Returns the value of attribute is_relation_reachable.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#relation_row_count ⇒ Object
Returns the value of attribute relation_row_count.
-
#release ⇒ Object
Returns the value of attribute release.
-
#source ⇒ Object
Returns the value of attribute source.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatasetSourceSnapshotStatusData
constructor
A new instance of DatasetSourceSnapshotStatusData.
Constructor Details
#initialize(json) ⇒ DatasetSourceSnapshotStatusData
Returns a new instance of DatasetSourceSnapshotStatusData.
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 86 87 88 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 61 def initialize(json) super() hash = self.class.normalize(json) @clickhouse_dataset_row_count = hash[:clickhouse_dataset_row_count] @clickhouse_expected_schema_version = hash[:clickhouse_expected_schema_version] @clickhouse_ingest_lag_rows = hash[:clickhouse_ingest_lag_rows] @clickhouse_relation = hash[:clickhouse_relation] @clickhouse_row_count = hash[:clickhouse_row_count] @clickhouse_snapshot_row_count = hash[:clickhouse_snapshot_row_count] @clickhouse_snapshot_row_drift = hash[:clickhouse_snapshot_row_drift] @clickhouse_snapshot_schema_versions = (hash[:clickhouse_snapshot_schema_versions] || []) @clickhouse_status_code = hash[:clickhouse_status_code] @clickhouse_status_description = hash[:clickhouse_status_description] @clickhouse_status_reason = hash[:clickhouse_status_reason] @database = hash[:database] @is_clickhouse_configured = hash[:is_clickhouse_configured] @is_clickhouse_ingested = hash[:is_clickhouse_ingested] @is_clickhouse_queryable = hash[:is_clickhouse_queryable] @is_clickhouse_table_present = hash[:is_clickhouse_table_present] @is_relation_reachable = hash[:is_relation_reachable] @record_count = hash[:record_count] @ref = hash[:ref] @relation = hash[:relation] @relation_row_count = hash[:relation_row_count] @release = hash[:release] @source = hash[:source] @version = hash[:version] end |
Instance Attribute Details
#clickhouse_dataset_row_count ⇒ Object
Returns the value of attribute clickhouse_dataset_row_count.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_dataset_row_count @clickhouse_dataset_row_count end |
#clickhouse_expected_schema_version ⇒ Object
Returns the value of attribute clickhouse_expected_schema_version.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_expected_schema_version @clickhouse_expected_schema_version end |
#clickhouse_ingest_lag_rows ⇒ Object
Returns the value of attribute clickhouse_ingest_lag_rows.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_ingest_lag_rows @clickhouse_ingest_lag_rows end |
#clickhouse_relation ⇒ Object
Returns the value of attribute clickhouse_relation.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_relation @clickhouse_relation end |
#clickhouse_row_count ⇒ Object
Returns the value of attribute clickhouse_row_count.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_row_count @clickhouse_row_count end |
#clickhouse_snapshot_row_count ⇒ Object
Returns the value of attribute clickhouse_snapshot_row_count.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_snapshot_row_count @clickhouse_snapshot_row_count end |
#clickhouse_snapshot_row_drift ⇒ Object
Returns the value of attribute clickhouse_snapshot_row_drift.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_snapshot_row_drift @clickhouse_snapshot_row_drift end |
#clickhouse_snapshot_schema_versions ⇒ Object
Returns the value of attribute clickhouse_snapshot_schema_versions.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_snapshot_schema_versions @clickhouse_snapshot_schema_versions end |
#clickhouse_status_code ⇒ Object
Returns the value of attribute clickhouse_status_code.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_status_code @clickhouse_status_code end |
#clickhouse_status_description ⇒ Object
Returns the value of attribute clickhouse_status_description.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_status_description @clickhouse_status_description end |
#clickhouse_status_reason ⇒ Object
Returns the value of attribute clickhouse_status_reason.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def clickhouse_status_reason @clickhouse_status_reason end |
#database ⇒ Object
Returns the value of attribute database.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def database @database end |
#is_clickhouse_configured ⇒ Object
Returns the value of attribute is_clickhouse_configured.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def is_clickhouse_configured @is_clickhouse_configured end |
#is_clickhouse_ingested ⇒ Object
Returns the value of attribute is_clickhouse_ingested.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def is_clickhouse_ingested @is_clickhouse_ingested end |
#is_clickhouse_queryable ⇒ Object
Returns the value of attribute is_clickhouse_queryable.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def is_clickhouse_queryable @is_clickhouse_queryable end |
#is_clickhouse_table_present ⇒ Object
Returns the value of attribute is_clickhouse_table_present.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def is_clickhouse_table_present @is_clickhouse_table_present end |
#is_relation_reachable ⇒ Object
Returns the value of attribute is_relation_reachable.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def is_relation_reachable @is_relation_reachable end |
#record_count ⇒ Object
Returns the value of attribute record_count.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def record_count @record_count end |
#ref ⇒ Object
Returns the value of attribute ref.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def ref @ref end |
#relation ⇒ Object
Returns the value of attribute relation.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def relation @relation end |
#relation_row_count ⇒ Object
Returns the value of attribute relation_row_count.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def relation_row_count @relation_row_count end |
#release ⇒ Object
Returns the value of attribute release.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def release @release end |
#source ⇒ Object
Returns the value of attribute source.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def source @source end |
#version ⇒ Object
Returns the value of attribute version.
35 36 37 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_status_data.rb', line 35 def version @version end |