Class: Rafflesia::OntologyRelationshipKeyCheckData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyRelationshipKeyCheckData
- Defined in:
- lib/rafflesia/ontology/ontology_relationship_key_check_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ bytes_scanned: :bytes_scanned, columns: :columns, duplicate_key_group_count: :duplicate_key_group_count, evidence_digest: :evidence_digest, evidence_uri: :evidence_uri, evidence_warning: :evidence_warning, is_cache_hit: :is_cache_hit, is_result_truncated: :is_result_truncated, max_bytes_scanned: :max_bytes_scanned, max_rows_per_key: :max_rows_per_key, max_rows_scanned: :max_rows_scanned, query_digest: :query_digest, relation: :relation, rows_scanned: :rows_scanned, side: :side, status: :status, timeout_ms: :timeout_ms, unavailable_reason: :unavailable_reason }.freeze
Instance Attribute Summary collapse
-
#bytes_scanned ⇒ Object
Returns the value of attribute bytes_scanned.
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#duplicate_key_group_count ⇒ Object
Returns the value of attribute duplicate_key_group_count.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#evidence_uri ⇒ Object
Returns the value of attribute evidence_uri.
-
#evidence_warning ⇒ Object
Returns the value of attribute evidence_warning.
-
#is_cache_hit ⇒ Object
Returns the value of attribute is_cache_hit.
-
#is_result_truncated ⇒ Object
Returns the value of attribute is_result_truncated.
-
#max_bytes_scanned ⇒ Object
Returns the value of attribute max_bytes_scanned.
-
#max_rows_per_key ⇒ Object
Returns the value of attribute max_rows_per_key.
-
#max_rows_scanned ⇒ Object
Returns the value of attribute max_rows_scanned.
-
#query_digest ⇒ Object
Returns the value of attribute query_digest.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#rows_scanned ⇒ Object
Returns the value of attribute rows_scanned.
-
#side ⇒ Object
Returns the value of attribute side.
-
#status ⇒ Object
Returns the value of attribute status.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
-
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyRelationshipKeyCheckData
constructor
A new instance of OntologyRelationshipKeyCheckData.
Constructor Details
#initialize(json) ⇒ OntologyRelationshipKeyCheckData
Returns a new instance of OntologyRelationshipKeyCheckData.
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/ontology/ontology_relationship_key_check_data.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @bytes_scanned = hash[:bytes_scanned] @columns = (hash[:columns] || []) @duplicate_key_group_count = hash[:duplicate_key_group_count] @evidence_digest = hash[:evidence_digest] @evidence_uri = hash[:evidence_uri] @evidence_warning = hash[:evidence_warning] @is_cache_hit = hash[:is_cache_hit] @is_result_truncated = hash[:is_result_truncated] @max_bytes_scanned = hash[:max_bytes_scanned] @max_rows_per_key = hash[:max_rows_per_key] @max_rows_scanned = hash[:max_rows_scanned] @query_digest = hash[:query_digest] @relation = hash[:relation] @rows_scanned = hash[:rows_scanned] @side = hash[:side] @status = hash[:status] @timeout_ms = hash[:timeout_ms] @unavailable_reason = hash[:unavailable_reason] end |
Instance Attribute Details
#bytes_scanned ⇒ Object
Returns the value of attribute bytes_scanned.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def bytes_scanned @bytes_scanned end |
#columns ⇒ Object
Returns the value of attribute columns.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def columns @columns end |
#duplicate_key_group_count ⇒ Object
Returns the value of attribute duplicate_key_group_count.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def duplicate_key_group_count @duplicate_key_group_count end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def evidence_digest @evidence_digest end |
#evidence_uri ⇒ Object
Returns the value of attribute evidence_uri.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def evidence_uri @evidence_uri end |
#evidence_warning ⇒ Object
Returns the value of attribute evidence_warning.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def evidence_warning @evidence_warning end |
#is_cache_hit ⇒ Object
Returns the value of attribute is_cache_hit.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def is_cache_hit @is_cache_hit end |
#is_result_truncated ⇒ Object
Returns the value of attribute is_result_truncated.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def is_result_truncated @is_result_truncated end |
#max_bytes_scanned ⇒ Object
Returns the value of attribute max_bytes_scanned.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def max_bytes_scanned @max_bytes_scanned end |
#max_rows_per_key ⇒ Object
Returns the value of attribute max_rows_per_key.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def max_rows_per_key @max_rows_per_key end |
#max_rows_scanned ⇒ Object
Returns the value of attribute max_rows_scanned.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def max_rows_scanned @max_rows_scanned end |
#query_digest ⇒ Object
Returns the value of attribute query_digest.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def query_digest @query_digest end |
#relation ⇒ Object
Returns the value of attribute relation.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def relation @relation end |
#rows_scanned ⇒ Object
Returns the value of attribute rows_scanned.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def rows_scanned @rows_scanned end |
#side ⇒ Object
Returns the value of attribute side.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def side @side end |
#status ⇒ Object
Returns the value of attribute status.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def status @status end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def timeout_ms @timeout_ms end |
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
29 30 31 |
# File 'lib/rafflesia/ontology/ontology_relationship_key_check_data.rb', line 29 def unavailable_reason @unavailable_reason end |