Interface ResultStore

All Known Implementing Classes:
JsonResultStore

public interface ResultStore
Persistence layer for evaluation run records.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String runId)
    Returns a run by ID, or empty if not found.
    list(String datasetName, int limit)
    Lists runs, most recent first.
    void
    save(RunRecord record)
    Saves a run record.
  • Method Details

    • save

      void save(RunRecord record)
      Saves a run record. Overwrites if a record with the same ID exists.
    • get

      Optional<RunRecord> get(String runId)
      Returns a run by ID, or empty if not found.
    • list

      List<RunRecord> list(String datasetName, int limit)
      Lists runs, most recent first.
      Parameters:
      datasetName - optional filter by dataset name (null for all)
      limit - maximum number to return (0 for all)
      Returns:
      matching records