public void addUpdateToBatch(String clusterName, short accountId, ContainerStorageStats containerStats)
        throws SQLException {
      addUpdateToBatch(statement -> {
        statement.setString(1, clusterName);
        statement.setInt(2, accountId);
        statement.setInt(3, containerStats.getContainerId());
        statement.setLong(4, containerStats.getLogicalStorageUsage());
        statement.setLong(5, containerStats.getPhysicalStorageUsage());
        statement.setLong(6, containerStats.getNumberOfBlobs());
        statement.setLong(7, containerStats.getLogicalStorageUsage());
        statement.setLong(8, containerStats.getPhysicalStorageUsage());
        statement.setLong(9, containerStats.getNumberOfBlobs());
      });
    }
Supply values to the prepared statement and add it to the batch updater.
@param accountId The account id.
@param containerStats The {@link ContainerStorageStats}.
@throws SQLException
ambry-mysql/src/main/java/com/github/ambry/accountstats/AggregatedAccountReportsDao.java