Class DmlStats.Builder

  • Enclosing class:
    DmlStats

    public abstract static class DmlStats.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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 or null for none
      • setInsertedRowCount

        public abstract DmlStats.Builder setInsertedRowCount​(Long insertedRowCount)
        Number of inserted Rows. Populated by DML INSERT and MERGE statements.
        Parameters:
        insertedRowCount - insertedRowCount or null for none
      • setUpdatedRowCount

        public abstract DmlStats.Builder setUpdatedRowCount​(Long updatedRowCount)
        Number of updated Rows. Populated by DML UPDATE and MERGE statements.
        Parameters:
        updatedRowCount - updatedRowCount or null for none
      • build

        public abstract DmlStats build()
        Creates a DmlStats object.