Class: Rafflesia::DatasetBuildTableTiming
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatasetBuildTableTiming
- Defined in:
- lib/rafflesia/datasets/dataset_build_table_timing.rb
Constant Summary collapse
- HASH_ATTRS =
{ elapsed_ms: :elapsed_ms, failure_count: :failure_count, row_count: :row_count, structure_count: :structure_count, table_artifact_count: :table_artifact_count, table_name: :table_name }.freeze
Instance Attribute Summary collapse
-
#elapsed_ms ⇒ Object
Returns the value of attribute elapsed_ms.
-
#failure_count ⇒ Object
Returns the value of attribute failure_count.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#structure_count ⇒ Object
Returns the value of attribute structure_count.
-
#table_artifact_count ⇒ Object
Returns the value of attribute table_artifact_count.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatasetBuildTableTiming
constructor
A new instance of DatasetBuildTableTiming.
Constructor Details
#initialize(json) ⇒ DatasetBuildTableTiming
Returns a new instance of DatasetBuildTableTiming.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @elapsed_ms = hash[:elapsed_ms] @failure_count = hash[:failure_count] @row_count = hash[:row_count] @structure_count = hash[:structure_count] @table_artifact_count = hash[:table_artifact_count] @table_name = hash[:table_name] end |
Instance Attribute Details
#elapsed_ms ⇒ Object
Returns the value of attribute elapsed_ms.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def elapsed_ms @elapsed_ms end |
#failure_count ⇒ Object
Returns the value of attribute failure_count.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def failure_count @failure_count end |
#row_count ⇒ Object
Returns the value of attribute row_count.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def row_count @row_count end |
#structure_count ⇒ Object
Returns the value of attribute structure_count.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def structure_count @structure_count end |
#table_artifact_count ⇒ Object
Returns the value of attribute table_artifact_count.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def table_artifact_count @table_artifact_count end |
#table_name ⇒ Object
Returns the value of attribute table_name.
17 18 19 |
# File 'lib/rafflesia/datasets/dataset_build_table_timing.rb', line 17 def table_name @table_name end |