Package com.google.cloud.bigquery
Class DmlStats.Builder
- java.lang.Object
-
- com.google.cloud.bigquery.DmlStats.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract DmlStats
build()
Creates aDmlStats
object.abstract DmlStats.Builder
setDeletedRowCount(Long deletedRowCount)
Number of deleted Rows.abstract DmlStats.Builder
setInsertedRowCount(Long insertedRowCount)
Number of inserted Rows.abstract DmlStats.Builder
setUpdatedRowCount(Long updatedRowCount)
Number of updated Rows.
-
-
-
Method Detail
-
setDeletedRowCount
public abstract DmlStats.Builder setDeletedRowCount(Long deletedRowCount)
Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.- Parameters:
deletedRowCount
- deletedRowCount ornull
for none
-
setInsertedRowCount
public abstract DmlStats.Builder setInsertedRowCount(Long insertedRowCount)
Number of inserted Rows. Populated by DML INSERT and MERGE statements.- Parameters:
insertedRowCount
- insertedRowCount ornull
for none
-
setUpdatedRowCount
public abstract DmlStats.Builder setUpdatedRowCount(Long updatedRowCount)
Number of updated Rows. Populated by DML UPDATE and MERGE statements.- Parameters:
updatedRowCount
- updatedRowCount ornull
for none
-
build
public abstract DmlStats build()
Creates aDmlStats
object.
-
-