public void deleteDataset(int accountId, int containerId, String datasetName)
      throws SQLException, AccountServiceException {
    try {
      long startTimeMs = System.currentTimeMillis();
      dataAccessor.getDatabaseConnection(true);
      PreparedStatement deleteDatasetStatement = dataAccessor.getPreparedStatement(deleteDatasetByIdSql, true);
      executeDeleteDatasetStatement(deleteDatasetStatement, accountId, containerId, datasetName);
      dataAccessor.onSuccess(Delete, System.currentTimeMillis() - startTimeMs);
    } catch (SQLException | AccountServiceException e) {
      dataAccessor.onException(e, Delete);
      throw e;
    }
  }
Delete {@link Dataset} based on the supplied properties.
@param accountId the id for the parent account.
@param containerId the id of the container.
@param datasetName the name of the dataset.
@throws SQLException
ambry-account/src/main/java/com/github/ambry/account/mysql/DatasetDao.java