Class: Rafflesia::DatabaseJoinPathMeasurementRow
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinPathMeasurementRow
- Defined in:
- lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb
Constant Summary collapse
- HASH_ATTRS =
{ cardinality_status: :cardinality_status, edge_index: :edge_index, evidence_digest: :evidence_digest, from_matched_row_fraction: :from_matched_row_fraction, from_selector: :from_selector, from_source: :from_source, joined_row_count: :joined_row_count, key_overlap_status: :key_overlap_status, key_variant: :key_variant, matched_distinct_key_count: :matched_distinct_key_count, max_joined_rows_per_key: :max_joined_rows_per_key, measurement_id: :measurement_id, observation_status: :observation_status, relationship_id: :relationship_id, to_matched_row_fraction: :to_matched_row_fraction, to_selector: :to_selector, to_source: :to_source, unavailable_reason: :unavailable_reason }.freeze
Instance Attribute Summary collapse
-
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
-
#edge_index ⇒ Object
Returns the value of attribute edge_index.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#from_matched_row_fraction ⇒ Object
Returns the value of attribute from_matched_row_fraction.
-
#from_selector ⇒ Object
Returns the value of attribute from_selector.
-
#from_source ⇒ Object
Returns the value of attribute from_source.
-
#joined_row_count ⇒ Object
Returns the value of attribute joined_row_count.
-
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
-
#key_variant ⇒ Object
Returns the value of attribute key_variant.
-
#matched_distinct_key_count ⇒ Object
Returns the value of attribute matched_distinct_key_count.
-
#max_joined_rows_per_key ⇒ Object
Returns the value of attribute max_joined_rows_per_key.
-
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
-
#observation_status ⇒ Object
Returns the value of attribute observation_status.
-
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
-
#to_matched_row_fraction ⇒ Object
Returns the value of attribute to_matched_row_fraction.
-
#to_selector ⇒ Object
Returns the value of attribute to_selector.
-
#to_source ⇒ Object
Returns the value of attribute to_source.
-
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinPathMeasurementRow
constructor
A new instance of DatabaseJoinPathMeasurementRow.
Constructor Details
#initialize(json) ⇒ DatabaseJoinPathMeasurementRow
Returns a new instance of DatabaseJoinPathMeasurementRow.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @cardinality_status = hash[:cardinality_status] @edge_index = hash[:edge_index] @evidence_digest = hash[:evidence_digest] @from_matched_row_fraction = hash[:from_matched_row_fraction] @from_selector = hash[:from_selector] @from_source = hash[:from_source] @joined_row_count = hash[:joined_row_count] @key_overlap_status = hash[:key_overlap_status] @key_variant = hash[:key_variant] @matched_distinct_key_count = hash[:matched_distinct_key_count] @max_joined_rows_per_key = hash[:max_joined_rows_per_key] @measurement_id = hash[:measurement_id] @observation_status = hash[:observation_status] @relationship_id = hash[:relationship_id] @to_matched_row_fraction = hash[:to_matched_row_fraction] @to_selector = hash[:to_selector] @to_source = hash[:to_source] @unavailable_reason = hash[:unavailable_reason] end |
Instance Attribute Details
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def cardinality_status @cardinality_status end |
#edge_index ⇒ Object
Returns the value of attribute edge_index.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def edge_index @edge_index end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def evidence_digest @evidence_digest end |
#from_matched_row_fraction ⇒ Object
Returns the value of attribute from_matched_row_fraction.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def from_matched_row_fraction @from_matched_row_fraction end |
#from_selector ⇒ Object
Returns the value of attribute from_selector.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def from_selector @from_selector end |
#from_source ⇒ Object
Returns the value of attribute from_source.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def from_source @from_source end |
#joined_row_count ⇒ Object
Returns the value of attribute joined_row_count.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def joined_row_count @joined_row_count end |
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def key_overlap_status @key_overlap_status end |
#key_variant ⇒ Object
Returns the value of attribute key_variant.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def key_variant @key_variant end |
#matched_distinct_key_count ⇒ Object
Returns the value of attribute matched_distinct_key_count.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def matched_distinct_key_count @matched_distinct_key_count end |
#max_joined_rows_per_key ⇒ Object
Returns the value of attribute max_joined_rows_per_key.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def max_joined_rows_per_key @max_joined_rows_per_key end |
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def measurement_id @measurement_id end |
#observation_status ⇒ Object
Returns the value of attribute observation_status.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def observation_status @observation_status end |
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def relationship_id @relationship_id end |
#to_matched_row_fraction ⇒ Object
Returns the value of attribute to_matched_row_fraction.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def to_matched_row_fraction @to_matched_row_fraction end |
#to_selector ⇒ Object
Returns the value of attribute to_selector.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def to_selector @to_selector end |
#to_source ⇒ Object
Returns the value of attribute to_source.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def to_source @to_source end |
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
29 30 31 |
# File 'lib/rafflesia/database_join_path_measurements/database_join_path_measurement_row.rb', line 29 def unavailable_reason @unavailable_reason end |