Class: Rafflesia::DatabaseJoinDriftData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinDriftData
- Defined in:
- lib/rafflesia/database_join_drifts/database_join_drift_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ baseline_certification_id: :baseline_certification_id, baseline_from_release: :baseline_from_release, baseline_from_release_digest: :baseline_from_release_digest, baseline_to_release: :baseline_to_release, baseline_to_release_digest: :baseline_to_release_digest, candidate_certification_id: :candidate_certification_id, candidate_from_release: :candidate_from_release, candidate_from_release_digest: :candidate_from_release_digest, candidate_to_release: :candidate_to_release, candidate_to_release_digest: :candidate_to_release_digest, cardinality_contradicted_count: :cardinality_contradicted_count, compared_variant_count: :compared_variant_count, dataset_name: :dataset_name, dataset_version: :dataset_version, drift_table_object_ref: :drift_table_object_ref, evidence_digest: :evidence_digest, from_database: :from_database, id: :id, is_complete: :is_complete, is_resumable: :is_resumable, manifest_object_ref: :manifest_object_ref, object: :object, observation_lost_count: :observation_lost_count, ontology_digest: :ontology_digest, ontology_version: :ontology_version, overlap_lost_count: :overlap_lost_count, regression_count: :regression_count, rows: :rows, safety: :safety, to_database: :to_database }.freeze
Instance Attribute Summary collapse
-
#baseline_certification_id ⇒ Object
Returns the value of attribute baseline_certification_id.
-
#baseline_from_release ⇒ Object
Returns the value of attribute baseline_from_release.
-
#baseline_from_release_digest ⇒ Object
Returns the value of attribute baseline_from_release_digest.
-
#baseline_to_release ⇒ Object
Returns the value of attribute baseline_to_release.
-
#baseline_to_release_digest ⇒ Object
Returns the value of attribute baseline_to_release_digest.
-
#candidate_certification_id ⇒ Object
Returns the value of attribute candidate_certification_id.
-
#candidate_from_release ⇒ Object
Returns the value of attribute candidate_from_release.
-
#candidate_from_release_digest ⇒ Object
Returns the value of attribute candidate_from_release_digest.
-
#candidate_to_release ⇒ Object
Returns the value of attribute candidate_to_release.
-
#candidate_to_release_digest ⇒ Object
Returns the value of attribute candidate_to_release_digest.
-
#cardinality_contradicted_count ⇒ Object
Returns the value of attribute cardinality_contradicted_count.
-
#compared_variant_count ⇒ Object
Returns the value of attribute compared_variant_count.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#drift_table_object_ref ⇒ Object
Returns the value of attribute drift_table_object_ref.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#from_database ⇒ Object
Returns the value of attribute from_database.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_complete ⇒ Object
Returns the value of attribute is_complete.
-
#is_resumable ⇒ Object
Returns the value of attribute is_resumable.
-
#manifest_object_ref ⇒ Object
Returns the value of attribute manifest_object_ref.
-
#object ⇒ Object
Returns the value of attribute object.
-
#observation_lost_count ⇒ Object
Returns the value of attribute observation_lost_count.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
-
#overlap_lost_count ⇒ Object
Returns the value of attribute overlap_lost_count.
-
#regression_count ⇒ Object
Returns the value of attribute regression_count.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#safety ⇒ Object
Returns the value of attribute safety.
-
#to_database ⇒ Object
Returns the value of attribute to_database.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinDriftData
constructor
A new instance of DatabaseJoinDriftData.
Constructor Details
#initialize(json) ⇒ DatabaseJoinDriftData
Returns a new instance of DatabaseJoinDriftData.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 73 def initialize(json) super() hash = self.class.normalize(json) @baseline_certification_id = hash[:baseline_certification_id] @baseline_from_release = hash[:baseline_from_release] @baseline_from_release_digest = hash[:baseline_from_release_digest] @baseline_to_release = hash[:baseline_to_release] @baseline_to_release_digest = hash[:baseline_to_release_digest] @candidate_certification_id = hash[:candidate_certification_id] @candidate_from_release = hash[:candidate_from_release] @candidate_from_release_digest = hash[:candidate_from_release_digest] @candidate_to_release = hash[:candidate_to_release] @candidate_to_release_digest = hash[:candidate_to_release_digest] @cardinality_contradicted_count = hash[:cardinality_contradicted_count] @compared_variant_count = hash[:compared_variant_count] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @drift_table_object_ref = hash[:drift_table_object_ref] ? Rafflesia::ObjectRef.new(hash[:drift_table_object_ref]) : nil @evidence_digest = hash[:evidence_digest] @from_database = hash[:from_database] @id = hash[:id] @is_complete = hash[:is_complete] @is_resumable = hash[:is_resumable] @manifest_object_ref = hash[:manifest_object_ref] ? Rafflesia::ObjectRef.new(hash[:manifest_object_ref]) : nil @object = hash[:object] @observation_lost_count = hash[:observation_lost_count] @ontology_digest = hash[:ontology_digest] @ontology_version = hash[:ontology_version] @overlap_lost_count = hash[:overlap_lost_count] @regression_count = hash[:regression_count] @rows = (hash[:rows] || []).map { |item| item ? Rafflesia::DatabaseJoinDriftRow.new(item) : nil } @safety = hash[:safety] @to_database = hash[:to_database] end |
Instance Attribute Details
#baseline_certification_id ⇒ Object
Returns the value of attribute baseline_certification_id.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def baseline_certification_id @baseline_certification_id end |
#baseline_from_release ⇒ Object
Returns the value of attribute baseline_from_release.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def baseline_from_release @baseline_from_release end |
#baseline_from_release_digest ⇒ Object
Returns the value of attribute baseline_from_release_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def baseline_from_release_digest @baseline_from_release_digest end |
#baseline_to_release ⇒ Object
Returns the value of attribute baseline_to_release.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def baseline_to_release @baseline_to_release end |
#baseline_to_release_digest ⇒ Object
Returns the value of attribute baseline_to_release_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def baseline_to_release_digest @baseline_to_release_digest end |
#candidate_certification_id ⇒ Object
Returns the value of attribute candidate_certification_id.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def candidate_certification_id @candidate_certification_id end |
#candidate_from_release ⇒ Object
Returns the value of attribute candidate_from_release.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def candidate_from_release @candidate_from_release end |
#candidate_from_release_digest ⇒ Object
Returns the value of attribute candidate_from_release_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def candidate_from_release_digest @candidate_from_release_digest end |
#candidate_to_release ⇒ Object
Returns the value of attribute candidate_to_release.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def candidate_to_release @candidate_to_release end |
#candidate_to_release_digest ⇒ Object
Returns the value of attribute candidate_to_release_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def candidate_to_release_digest @candidate_to_release_digest end |
#cardinality_contradicted_count ⇒ Object
Returns the value of attribute cardinality_contradicted_count.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def cardinality_contradicted_count @cardinality_contradicted_count end |
#compared_variant_count ⇒ Object
Returns the value of attribute compared_variant_count.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def compared_variant_count @compared_variant_count end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def dataset_version @dataset_version end |
#drift_table_object_ref ⇒ Object
Returns the value of attribute drift_table_object_ref.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def drift_table_object_ref @drift_table_object_ref end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def evidence_digest @evidence_digest end |
#from_database ⇒ Object
Returns the value of attribute from_database.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def from_database @from_database end |
#id ⇒ Object
Returns the value of attribute id.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def id @id end |
#is_complete ⇒ Object
Returns the value of attribute is_complete.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def is_complete @is_complete end |
#is_resumable ⇒ Object
Returns the value of attribute is_resumable.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def is_resumable @is_resumable end |
#manifest_object_ref ⇒ Object
Returns the value of attribute manifest_object_ref.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def manifest_object_ref @manifest_object_ref end |
#object ⇒ Object
Returns the value of attribute object.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def object @object end |
#observation_lost_count ⇒ Object
Returns the value of attribute observation_lost_count.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def observation_lost_count @observation_lost_count end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def ontology_digest @ontology_digest end |
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def ontology_version @ontology_version end |
#overlap_lost_count ⇒ Object
Returns the value of attribute overlap_lost_count.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def overlap_lost_count @overlap_lost_count end |
#regression_count ⇒ Object
Returns the value of attribute regression_count.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def regression_count @regression_count end |
#rows ⇒ Object
Returns the value of attribute rows.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def rows @rows end |
#safety ⇒ Object
Returns the value of attribute safety.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def safety @safety end |
#to_database ⇒ Object
Returns the value of attribute to_database.
41 42 43 |
# File 'lib/rafflesia/database_join_drifts/database_join_drift_data.rb', line 41 def to_database @to_database end |