Class DmlStats.Builder (2.37.2)

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
TypeDescription
DmlStats

setDeletedRowCount(Long deletedRowCount)

public abstract DmlStats.Builder setDeletedRowCount(Long deletedRowCount)

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

Parameter
NameDescription
deletedRowCountLong

deletedRowCount or null for none

Returns
TypeDescription
DmlStats.Builder

setInsertedRowCount(Long insertedRowCount)

public abstract DmlStats.Builder setInsertedRowCount(Long insertedRowCount)

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

Parameter
NameDescription
insertedRowCountLong

insertedRowCount or null for none

Returns
TypeDescription
DmlStats.Builder

setUpdatedRowCount(Long updatedRowCount)

public abstract DmlStats.Builder setUpdatedRowCount(Long updatedRowCount)

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

Parameter
NameDescription
updatedRowCountLong

updatedRowCount or null for none

Returns
TypeDescription
DmlStats.Builder