Class: Rafflesia::DatabaseJoinKeyProfileRef
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinKeyProfileRef
- Defined in:
- lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb
Constant Summary collapse
- HASH_ATTRS =
{ bytes_scanned: :bytes_scanned, columns: :columns, distinct_key_count: :distinct_key_count, engine: :engine, evidence_digest: :evidence_digest, evidence_uri: :evidence_uri, id: :id, is_cache_hit: :is_cache_hit, max_rows_per_key: :max_rows_per_key, multirow_distinct_key_count: :multirow_distinct_key_count, non_null_row_count: :non_null_row_count, object_ref: :object_ref, query_digest: :query_digest, relation_digest: :relation_digest, release_digest: :release_digest, row_count: :row_count, rows_scanned: :rows_scanned, selector: :selector }.freeze
Instance Attribute Summary collapse
-
#bytes_scanned ⇒ Object
Returns the value of attribute bytes_scanned.
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#distinct_key_count ⇒ Object
Returns the value of attribute distinct_key_count.
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#evidence_uri ⇒ Object
Returns the value of attribute evidence_uri.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_cache_hit ⇒ Object
Returns the value of attribute is_cache_hit.
-
#max_rows_per_key ⇒ Object
Returns the value of attribute max_rows_per_key.
-
#multirow_distinct_key_count ⇒ Object
Returns the value of attribute multirow_distinct_key_count.
-
#non_null_row_count ⇒ Object
Returns the value of attribute non_null_row_count.
-
#object_ref ⇒ Object
Returns the value of attribute object_ref.
-
#query_digest ⇒ Object
Returns the value of attribute query_digest.
-
#relation_digest ⇒ Object
Returns the value of attribute relation_digest.
-
#release_digest ⇒ Object
Returns the value of attribute release_digest.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#rows_scanned ⇒ Object
Returns the value of attribute rows_scanned.
-
#selector ⇒ Object
Returns the value of attribute selector.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinKeyProfileRef
constructor
A new instance of DatabaseJoinKeyProfileRef.
Constructor Details
#initialize(json) ⇒ DatabaseJoinKeyProfileRef
Returns a new instance of DatabaseJoinKeyProfileRef.
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_candidates/database_join_key_profile_ref.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @bytes_scanned = hash[:bytes_scanned] @columns = (hash[:columns] || []) @distinct_key_count = hash[:distinct_key_count] @engine = hash[:engine] @evidence_digest = hash[:evidence_digest] @evidence_uri = hash[:evidence_uri] @id = hash[:id] @is_cache_hit = hash[:is_cache_hit] @max_rows_per_key = hash[:max_rows_per_key] @multirow_distinct_key_count = hash[:multirow_distinct_key_count] @non_null_row_count = hash[:non_null_row_count] @object_ref = hash[:object_ref] ? Rafflesia::ObjectRef.new(hash[:object_ref]) : nil @query_digest = hash[:query_digest] @relation_digest = hash[:relation_digest] @release_digest = hash[:release_digest] @row_count = hash[:row_count] @rows_scanned = hash[:rows_scanned] @selector = hash[:selector] end |
Instance Attribute Details
#bytes_scanned ⇒ Object
Returns the value of attribute bytes_scanned.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def bytes_scanned @bytes_scanned end |
#columns ⇒ Object
Returns the value of attribute columns.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def columns @columns end |
#distinct_key_count ⇒ Object
Returns the value of attribute distinct_key_count.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def distinct_key_count @distinct_key_count end |
#engine ⇒ Object
Returns the value of attribute engine.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def engine @engine end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.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/database_join_candidates/database_join_key_profile_ref.rb', line 29 def evidence_uri @evidence_uri end |
#id ⇒ Object
Returns the value of attribute id.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def id @id end |
#is_cache_hit ⇒ Object
Returns the value of attribute is_cache_hit.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def is_cache_hit @is_cache_hit end |
#max_rows_per_key ⇒ Object
Returns the value of attribute max_rows_per_key.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def max_rows_per_key @max_rows_per_key end |
#multirow_distinct_key_count ⇒ Object
Returns the value of attribute multirow_distinct_key_count.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def multirow_distinct_key_count @multirow_distinct_key_count end |
#non_null_row_count ⇒ Object
Returns the value of attribute non_null_row_count.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def non_null_row_count @non_null_row_count end |
#object_ref ⇒ Object
Returns the value of attribute object_ref.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def object_ref @object_ref end |
#query_digest ⇒ Object
Returns the value of attribute query_digest.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def query_digest @query_digest end |
#relation_digest ⇒ Object
Returns the value of attribute relation_digest.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def relation_digest @relation_digest end |
#release_digest ⇒ Object
Returns the value of attribute release_digest.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def release_digest @release_digest end |
#row_count ⇒ Object
Returns the value of attribute row_count.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def row_count @row_count end |
#rows_scanned ⇒ Object
Returns the value of attribute rows_scanned.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def rows_scanned @rows_scanned end |
#selector ⇒ Object
Returns the value of attribute selector.
29 30 31 |
# File 'lib/rafflesia/database_join_candidates/database_join_key_profile_ref.rb', line 29 def selector @selector end |