Class: Google::Apis::BigqueryV2::DmlStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DmlStatistics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Detailed statistics for DML statements
Instance Attribute Summary collapse
-
#deleted_row_count ⇒ Fixnum
Output only.
-
#dml_mode ⇒ String
Output only.
-
#fine_grained_dml_unused_reason ⇒ String
Output only.
-
#inserted_row_count ⇒ Fixnum
Output only.
-
#updated_row_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DmlStatistics
constructor
A new instance of DmlStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DmlStatistics
Returns a new instance of DmlStatistics.
2647 2648 2649 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2647 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deleted_row_count ⇒ Fixnum
Output only. Number of deleted Rows. populated by DML DELETE, MERGE and
TRUNCATE statements.
Corresponds to the JSON property deletedRowCount
2623 2624 2625 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2623 def deleted_row_count @deleted_row_count end |
#dml_mode ⇒ String
Output only. DML mode used.
Corresponds to the JSON property dmlMode
2628 2629 2630 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2628 def dml_mode @dml_mode end |
#fine_grained_dml_unused_reason ⇒ String
Output only. Reason for disabling fine-grained DML if applicable.
Corresponds to the JSON property fineGrainedDmlUnusedReason
2633 2634 2635 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2633 def fine_grained_dml_unused_reason @fine_grained_dml_unused_reason end |
#inserted_row_count ⇒ Fixnum
Output only. Number of inserted Rows. Populated by DML INSERT and MERGE
statements
Corresponds to the JSON property insertedRowCount
2639 2640 2641 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2639 def inserted_row_count @inserted_row_count end |
#updated_row_count ⇒ Fixnum
Output only. Number of updated Rows. Populated by DML UPDATE and MERGE
statements.
Corresponds to the JSON property updatedRowCount
2645 2646 2647 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2645 def updated_row_count @updated_row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2652 2653 2654 2655 2656 2657 2658 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2652 def update!(**args) @deleted_row_count = args[:deleted_row_count] if args.key?(:deleted_row_count) @dml_mode = args[:dml_mode] if args.key?(:dml_mode) @fine_grained_dml_unused_reason = args[:fine_grained_dml_unused_reason] if args.key?(:fine_grained_dml_unused_reason) @inserted_row_count = args[:inserted_row_count] if args.key?(:inserted_row_count) @updated_row_count = args[:updated_row_count] if args.key?(:updated_row_count) end |