Class: Rafflesia::DatabaseJoinNormalizationMeasurementData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinNormalizationMeasurementData
- Defined in:
- lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ after_joined_row_count: :after_joined_row_count, after_matched_distinct_key_count: :after_matched_distinct_key_count, after_max_joined_rows_per_key: :after_max_joined_rows_per_key, before_matched_distinct_key_count: :before_matched_distinct_key_count, evidence_digest: :evidence_digest, from: :from, id: :id, is_safe_join: :is_safe_join, matched_distinct_key_count_delta: :matched_distinct_key_count_delta, measurement_object_ref: :measurement_object_ref, object: :object, ontology_digest: :ontology_digest, ontology_version: :ontology_version, to: :to }.freeze
Instance Attribute Summary collapse
-
#after_joined_row_count ⇒ Object
Returns the value of attribute after_joined_row_count.
-
#after_matched_distinct_key_count ⇒ Object
Returns the value of attribute after_matched_distinct_key_count.
-
#after_max_joined_rows_per_key ⇒ Object
Returns the value of attribute after_max_joined_rows_per_key.
-
#before_matched_distinct_key_count ⇒ Object
Returns the value of attribute before_matched_distinct_key_count.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#from ⇒ Object
Returns the value of attribute from.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_safe_join ⇒ Object
Returns the value of attribute is_safe_join.
-
#matched_distinct_key_count_delta ⇒ Object
Returns the value of attribute matched_distinct_key_count_delta.
-
#measurement_object_ref ⇒ Object
Returns the value of attribute measurement_object_ref.
-
#object ⇒ Object
Returns the value of attribute object.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinNormalizationMeasurementData
constructor
A new instance of DatabaseJoinNormalizationMeasurementData.
Constructor Details
#initialize(json) ⇒ DatabaseJoinNormalizationMeasurementData
Returns a new instance of DatabaseJoinNormalizationMeasurementData.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @after_joined_row_count = hash[:after_joined_row_count] @after_matched_distinct_key_count = hash[:after_matched_distinct_key_count] @after_max_joined_rows_per_key = hash[:after_max_joined_rows_per_key] @before_matched_distinct_key_count = hash[:before_matched_distinct_key_count] @evidence_digest = hash[:evidence_digest] @from = hash[:from] ? Rafflesia::IdentifierNormalizationSideMeasurement.new(hash[:from]) : nil @id = hash[:id] @is_safe_join = hash[:is_safe_join] @matched_distinct_key_count_delta = hash[:matched_distinct_key_count_delta] @measurement_object_ref = hash[:measurement_object_ref] ? Rafflesia::ObjectRef.new(hash[:measurement_object_ref]) : nil @object = hash[:object] @ontology_digest = hash[:ontology_digest] @ontology_version = hash[:ontology_version] @to = hash[:to] ? Rafflesia::IdentifierNormalizationSideMeasurement.new(hash[:to]) : nil end |
Instance Attribute Details
#after_joined_row_count ⇒ Object
Returns the value of attribute after_joined_row_count.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def after_joined_row_count @after_joined_row_count end |
#after_matched_distinct_key_count ⇒ Object
Returns the value of attribute after_matched_distinct_key_count.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def after_matched_distinct_key_count @after_matched_distinct_key_count end |
#after_max_joined_rows_per_key ⇒ Object
Returns the value of attribute after_max_joined_rows_per_key.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def after_max_joined_rows_per_key @after_max_joined_rows_per_key end |
#before_matched_distinct_key_count ⇒ Object
Returns the value of attribute before_matched_distinct_key_count.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def before_matched_distinct_key_count @before_matched_distinct_key_count end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def evidence_digest @evidence_digest end |
#from ⇒ Object
Returns the value of attribute from.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def from @from end |
#id ⇒ Object
Returns the value of attribute id.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def id @id end |
#is_safe_join ⇒ Object
Returns the value of attribute is_safe_join.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def is_safe_join @is_safe_join end |
#matched_distinct_key_count_delta ⇒ Object
Returns the value of attribute matched_distinct_key_count_delta.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def matched_distinct_key_count_delta @matched_distinct_key_count_delta end |
#measurement_object_ref ⇒ Object
Returns the value of attribute measurement_object_ref.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def measurement_object_ref @measurement_object_ref end |
#object ⇒ Object
Returns the value of attribute object.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def object @object end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def ontology_digest @ontology_digest end |
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def ontology_version @ontology_version end |
#to ⇒ Object
Returns the value of attribute to.
25 26 27 |
# File 'lib/rafflesia/database_join_normalization_measurements/database_join_normalization_measurement_data.rb', line 25 def to @to end |