Class DmlStats.Builder (2.43.0)

public abstract static class DmlStats.Builder

Inheritance

java.lang.Object > DmlStats.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract DmlStats build()

Creates a DmlStats object.

Returns
Type Description
DmlStats

setDeletedRowCount(Long deletedRowCount)

public abstract DmlStats.Builder setDeletedRowCount(Long deletedRowCount)

Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.

Parameter
Name Description
deletedRowCount Long

deletedRowCount or null for none

Returns
Type Description
DmlStats.Builder

setInsertedRowCount(Long insertedRowCount)

public abstract DmlStats.Builder setInsertedRowCount(Long insertedRowCount)

Number of inserted Rows. Populated by DML INSERT and MERGE statements.

Parameter
Name Description
insertedRowCount Long

insertedRowCount or null for none

Returns
Type Description
DmlStats.Builder

setUpdatedRowCount(Long updatedRowCount)

public abstract DmlStats.Builder setUpdatedRowCount(Long updatedRowCount)

Number of updated Rows. Populated by DML UPDATE and MERGE statements.

Parameter
Name Description
updatedRowCount Long

updatedRowCount or null for none

Returns
Type Description
DmlStats.Builder