Class JdbcRunRepository
java.lang.Object
com.knezevic.edaf.v3.persistence.query.JdbcRunRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzeExperiment(String experimentId, String objectiveDirection, Double targetFitness) Computes experiment-level aggregate analytics and profile curves.compareAlgorithmsOnProblem(String problemType, String objectiveDirection, Double targetFitness, List<String> algorithms) Computes cross-algorithm comparison for one problem family.deleteExperiment(String experimentId) Hard-deletes one experiment and all dependent run data.getExperimentDetail(String experimentId) Returns one experiment metadata row ornullwhen id does not exist.getRunDetail(String runId) Returns rich run detail record ornullwhen run does not exist.listCheckpoints(String runId) Lists checkpoints for one run.listEvents(String runId, String eventType, String q, int page, int size) Lists events for one run with optional filtering and paging.listExperimentParams(String runId) Lists flattened experiment parameters for run's experiment.listExperimentRuns(String experimentId, int page, int size, String sortBy, String sortDir) Lists runs for one experiment with pagination and sortable columns.listExperiments(ExperimentQuery query) Returns one page of experiments matching provided query.Lists distinct facet values used by dashboard filters.listIterations(String runId) Lists iteration metrics for one run.listRunIdsForExperiment(String experimentId) Lists run ids belonging to one experiment.Returns one page of runs matching provided query.requestExperimentStop(String experimentId, String requestedBy, String reason) Requests cooperative stop for all running runs in one experiment.requestRunStop(String runId, String requestedBy, String reason) Requests cooperative stop for one run.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.knezevic.edaf.v3.persistence.query.RunRepository
getRun, listRuns
-
Constructor Details
-
JdbcRunRepository
-
-
Method Details
-
listExperiments
Description copied from interface:RunRepositoryReturns one page of experiments matching provided query.- Specified by:
listExperimentsin interfaceRunRepository
-
listRuns
Description copied from interface:RunRepositoryReturns one page of runs matching provided query.- Specified by:
listRunsin interfaceRunRepository
-
getRunDetail
Description copied from interface:RunRepositoryReturns rich run detail record ornullwhen run does not exist.- Specified by:
getRunDetailin interfaceRunRepository
-
listIterations
Description copied from interface:RunRepositoryLists iteration metrics for one run.- Specified by:
listIterationsin interfaceRunRepository
-
listCheckpoints
Description copied from interface:RunRepositoryLists checkpoints for one run.- Specified by:
listCheckpointsin interfaceRunRepository
-
listEvents
public PageResult<EventRow> listEvents(String runId, String eventType, String q, int page, int size) Description copied from interface:RunRepositoryLists events for one run with optional filtering and paging.- Specified by:
listEventsin interfaceRunRepository
-
listExperimentParams
Description copied from interface:RunRepositoryLists flattened experiment parameters for run's experiment.- Specified by:
listExperimentParamsin interfaceRunRepository
-
listFacets
Description copied from interface:RunRepositoryLists distinct facet values used by dashboard filters.- Specified by:
listFacetsin interfaceRunRepository
-
getExperimentDetail
Description copied from interface:RunRepositoryReturns one experiment metadata row ornullwhen id does not exist.- Specified by:
getExperimentDetailin interfaceRunRepository
-
listExperimentRuns
public PageResult<ExperimentRunItem> listExperimentRuns(String experimentId, int page, int size, String sortBy, String sortDir) Description copied from interface:RunRepositoryLists runs for one experiment with pagination and sortable columns.- Specified by:
listExperimentRunsin interfaceRunRepository
-
analyzeExperiment
public ExperimentAnalytics analyzeExperiment(String experimentId, String objectiveDirection, Double targetFitness) Description copied from interface:RunRepositoryComputes experiment-level aggregate analytics and profile curves.- Specified by:
analyzeExperimentin interfaceRunRepository
-
compareAlgorithmsOnProblem
public ProblemComparisonReport compareAlgorithmsOnProblem(String problemType, String objectiveDirection, Double targetFitness, List<String> algorithms) Description copied from interface:RunRepositoryComputes cross-algorithm comparison for one problem family.- Specified by:
compareAlgorithmsOnProblemin interfaceRunRepository
-
listRunIdsForExperiment
Description copied from interface:RunRepositoryLists run ids belonging to one experiment.- Specified by:
listRunIdsForExperimentin interfaceRunRepository
-
deleteExperiment
Description copied from interface:RunRepositoryHard-deletes one experiment and all dependent run data.- Specified by:
deleteExperimentin interfaceRunRepository
-
requestRunStop
Description copied from interface:RunRepositoryRequests cooperative stop for one run.- Specified by:
requestRunStopin interfaceRunRepository
-
requestExperimentStop
public StopRequestResult requestExperimentStop(String experimentId, String requestedBy, String reason) Description copied from interface:RunRepositoryRequests cooperative stop for all running runs in one experiment.- Specified by:
requestExperimentStopin interfaceRunRepository
-