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
Instance Attribute Summary collapse
-
#deleted_row_count ⇒ Fixnum
Number of deleted Rows.
-
#inserted_row_count ⇒ Fixnum
Number of inserted Rows.
-
#updated_row_count ⇒ Fixnum
Number of updated Rows.
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.
2038 2039 2040 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deleted_row_count ⇒ Fixnum
Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.
Corresponds to the JSON property deletedRowCount
2026 2027 2028 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2026 def deleted_row_count @deleted_row_count end |
#inserted_row_count ⇒ Fixnum
Number of inserted Rows. Populated by DML INSERT and MERGE statements.
Corresponds to the JSON property insertedRowCount
2031 2032 2033 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2031 def inserted_row_count @inserted_row_count end |
#updated_row_count ⇒ Fixnum
Number of updated Rows. Populated by DML UPDATE and MERGE statements.
Corresponds to the JSON property updatedRowCount
2036 2037 2038 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2036 def updated_row_count @updated_row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2043 2044 2045 2046 2047 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2043 def update!(**args) @deleted_row_count = args[:deleted_row_count] if args.key?(:deleted_row_count) @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 |