private void executeUpdateDatasetVersionStateAndDeletedStatement(PreparedStatement statement, int accountId,
      int containerId, String datasetName, long versionValue, DatasetVersionState datasetVersionState)
      throws SQLException {
    statement.setInt(1, datasetVersionState.ordinal());
    statement.setInt(2, accountId);
    statement.setInt(3, containerId);
    statement.setString(4, datasetName);
    statement.setLong(5, versionValue);
    statement.executeUpdate();
  }
Execute the updateDatasetVersionStateAndDeletedTsSql statement.
@param statement the updateDatasetVersionStateSql statement.
@param statement the mysql statement to delete dataset version.
@param accountId the id for the parent account.
@param containerId the id of the container.
@param datasetName the name of the dataset.
@param versionValue the version value of the dataset.
@param datasetVersionState the {@link DatasetVersionState}
@throws SQLException
ambry-account/src/main/java/com/github/ambry/account/mysql/DatasetDao.java