public synchronized DatasetVersionRecord addDatasetVersion(int accountId, int containerId, String accountName,
      String containerName, String datasetName, String version, long timeToLiveInSeconds, long creationTimeInMs,
      boolean datasetVersionTtlEnabled, DatasetVersionState datasetVersionState) throws SQLException, AccountServiceException {
    return datasetDao.addDatasetVersions(accountId, containerId, accountName, containerName, datasetName, version,
        timeToLiveInSeconds, creationTimeInMs, datasetVersionTtlEnabled, datasetVersionState);
  }
Add a version of {@link Dataset}
@param accountId the id for the parent account.
@param containerId the id of the container.
@param accountName the name for the parent account.
@param containerName the name for the container.
@param datasetName the name of the dataset.
@param version the version of the dataset.
@param timeToLiveInSeconds The dataset version level ttl.
@param creationTimeInMs the creation time of the dataset.
@param datasetVersionTtlEnabled set to true if dataset version ttl want to override the dataset level default ttl.
@param datasetVersionState the {@link DatasetVersionState}
@return the corresponding {@link Dataset}
@throws SQLException
ambry-account/src/main/java/com/github/ambry/account/mysql/MySqlAccountStore.java