Class: Rafflesia::IdentifierNormalizationSideMeasurement
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::IdentifierNormalizationSideMeasurement
- Defined in:
- lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb
Constant Summary collapse
- HASH_ATTRS =
{ changed_row_count: :changed_row_count, collision_key_count: :collision_key_count, column: :column, evidence_digest: :evidence_digest, is_lossy: :is_lossy, max_originals_per_normalized_key: :max_originals_per_normalized_key, normalized_distinct_key_count: :normalized_distinct_key_count, original_distinct_key_count: :original_distinct_key_count, profile_object_ref: :profile_object_ref, selector: :selector, transform: :transform }.freeze
Instance Attribute Summary collapse
-
#changed_row_count ⇒ Object
Returns the value of attribute changed_row_count.
-
#collision_key_count ⇒ Object
Returns the value of attribute collision_key_count.
-
#column ⇒ Object
Returns the value of attribute column.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#is_lossy ⇒ Object
Returns the value of attribute is_lossy.
-
#max_originals_per_normalized_key ⇒ Object
Returns the value of attribute max_originals_per_normalized_key.
-
#normalized_distinct_key_count ⇒ Object
Returns the value of attribute normalized_distinct_key_count.
-
#original_distinct_key_count ⇒ Object
Returns the value of attribute original_distinct_key_count.
-
#profile_object_ref ⇒ Object
Returns the value of attribute profile_object_ref.
-
#selector ⇒ Object
Returns the value of attribute selector.
-
#transform ⇒ Object
Returns the value of attribute transform.
Instance Method Summary collapse
-
#initialize(json) ⇒ IdentifierNormalizationSideMeasurement
constructor
A new instance of IdentifierNormalizationSideMeasurement.
Constructor Details
#initialize(json) ⇒ IdentifierNormalizationSideMeasurement
Returns a new instance of IdentifierNormalizationSideMeasurement.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @changed_row_count = hash[:changed_row_count] @collision_key_count = hash[:collision_key_count] @column = hash[:column] @evidence_digest = hash[:evidence_digest] @is_lossy = hash[:is_lossy] @max_originals_per_normalized_key = hash[:max_originals_per_normalized_key] @normalized_distinct_key_count = hash[:normalized_distinct_key_count] @original_distinct_key_count = hash[:original_distinct_key_count] @profile_object_ref = hash[:profile_object_ref] ? Rafflesia::ObjectRef.new(hash[:profile_object_ref]) : nil @selector = hash[:selector] @transform = hash[:transform] ? Rafflesia::IdentifierNormalizationTransform.new(hash[:transform]) : nil end |
Instance Attribute Details
#changed_row_count ⇒ Object
Returns the value of attribute changed_row_count.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def changed_row_count @changed_row_count end |
#collision_key_count ⇒ Object
Returns the value of attribute collision_key_count.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def collision_key_count @collision_key_count end |
#column ⇒ Object
Returns the value of attribute column.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def column @column end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def evidence_digest @evidence_digest end |
#is_lossy ⇒ Object
Returns the value of attribute is_lossy.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def is_lossy @is_lossy end |
#max_originals_per_normalized_key ⇒ Object
Returns the value of attribute max_originals_per_normalized_key.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def max_originals_per_normalized_key @max_originals_per_normalized_key end |
#normalized_distinct_key_count ⇒ Object
Returns the value of attribute normalized_distinct_key_count.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def normalized_distinct_key_count @normalized_distinct_key_count end |
#original_distinct_key_count ⇒ Object
Returns the value of attribute original_distinct_key_count.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def original_distinct_key_count @original_distinct_key_count end |
#profile_object_ref ⇒ Object
Returns the value of attribute profile_object_ref.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def profile_object_ref @profile_object_ref end |
#selector ⇒ Object
Returns the value of attribute selector.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def selector @selector end |
#transform ⇒ Object
Returns the value of attribute transform.
22 23 24 |
# File 'lib/rafflesia/database_join_normalization_measurements/identifier_normalization_side_measurement.rb', line 22 def transform @transform end |