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 DmlStatsbuild()Creates aDmlStatsobject.abstract DmlStats.BuildersetDeletedRowCount(Long deletedRowCount)Number of deleted Rows.abstract DmlStats.BuildersetInsertedRowCount(Long insertedRowCount)Number of inserted Rows.abstract DmlStats.BuildersetUpdatedRowCount(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 ornullfor none
-
setInsertedRowCount
public abstract DmlStats.Builder setInsertedRowCount(Long insertedRowCount)
Number of inserted Rows. Populated by DML INSERT and MERGE statements.- Parameters:
insertedRowCount- insertedRowCount ornullfor none
-
setUpdatedRowCount
public abstract DmlStats.Builder setUpdatedRowCount(Long updatedRowCount)
Number of updated Rows. Populated by DML UPDATE and MERGE statements.- Parameters:
updatedRowCount- updatedRowCount ornullfor none
-
build
public abstract DmlStats build()
Creates aDmlStatsobject.
-
-