private void resetStateAfterFlush() {
        dataSize = 0L;
        rowSize = 0L;
    }
update before is used for metric computing only
@param record
@return
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/JdbcBatchingOutputFormat.java