Interface DatasetValidationService


public interface DatasetValidationService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createOrUpdate(UUID datasetKey, int attempt, String report)
    Stores or updates the validation report for a specific crawl attempt of a dataset.
    get(UUID datasetKey, int attempt)
    Retrieves the validation report for a specific crawl attempt of a dataset.
    getLatest(UUID datasetKey)
    Retrieves the validation report for the latest crawl attempt of a dataset.
  • Method Details

    • createOrUpdate

      void createOrUpdate(UUID datasetKey, int attempt, String report)
      Stores or updates the validation report for a specific crawl attempt of a dataset.
      Parameters:
      datasetKey - key of the target dataset
      attempt - crawl attempt number
      report - validation report as a JSON string
    • get

      String get(UUID datasetKey, int attempt)
      Retrieves the validation report for a specific crawl attempt of a dataset.
      Parameters:
      datasetKey - key of the target dataset
      attempt - crawl attempt number
      Returns:
      validation report as a JSON string
    • getLatest

      String getLatest(UUID datasetKey)
      Retrieves the validation report for the latest crawl attempt of a dataset.
      Parameters:
      datasetKey - key of the target dataset
      Returns:
      validation report as a JSON string