Record Class ExperimentListItem
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ExperimentListItem
public record ExperimentListItem(String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String configHash, String createdAt, String latestRunTime, Long totalRuns, Long completedRuns, Long failedRuns, Long runningRuns, String status, Double bestFitness)
extends Record
One row in experiment listing.
-
Constructor Summary
ConstructorsConstructorDescriptionExperimentListItem(String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String configHash, String createdAt, String latestRunTime, Long totalRuns, Long completedRuns, Long failedRuns, Long runningRuns, String status, Double bestFitness) Creates an instance of aExperimentListItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmTyperecord component.Returns the value of thebestFitnessrecord component.Returns the value of thecompletedRunsrecord component.Returns the value of theconfigHashrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexperimentIdrecord component.Returns the value of thefailedRunsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelatestRunTimerecord component.Returns the value of themodelTyperecord component.Returns the value of theproblemTyperecord component.Returns the value of therepresentationTyperecord component.runName()Returns the value of therunNamerecord component.Returns the value of therunningRunsrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalRunsrecord component.
-
Constructor Details
-
ExperimentListItem
public ExperimentListItem(String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String configHash, String createdAt, String latestRunTime, Long totalRuns, Long completedRuns, Long failedRuns, Long runningRuns, String status, Double bestFitness) Creates an instance of aExperimentListItemrecord class.- Parameters:
experimentId- the value for theexperimentIdrecord componentrunName- the value for therunNamerecord componentalgorithmType- the value for thealgorithmTyperecord componentmodelType- the value for themodelTyperecord componentproblemType- the value for theproblemTyperecord componentrepresentationType- the value for therepresentationTyperecord componentconfigHash- the value for theconfigHashrecord componentcreatedAt- the value for thecreatedAtrecord componentlatestRunTime- the value for thelatestRunTimerecord componenttotalRuns- the value for thetotalRunsrecord componentcompletedRuns- the value for thecompletedRunsrecord componentfailedRuns- the value for thefailedRunsrecord componentrunningRuns- the value for therunningRunsrecord componentstatus- the value for thestatusrecord componentbestFitness- the value for thebestFitnessrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
experimentId
Returns the value of theexperimentIdrecord component.- Returns:
- the value of the
experimentIdrecord component
-
runName
Returns the value of therunNamerecord component.- Returns:
- the value of the
runNamerecord component
-
algorithmType
Returns the value of thealgorithmTyperecord component.- Returns:
- the value of the
algorithmTyperecord component
-
modelType
Returns the value of themodelTyperecord component.- Returns:
- the value of the
modelTyperecord component
-
problemType
Returns the value of theproblemTyperecord component.- Returns:
- the value of the
problemTyperecord component
-
representationType
Returns the value of therepresentationTyperecord component.- Returns:
- the value of the
representationTyperecord component
-
configHash
Returns the value of theconfigHashrecord component.- Returns:
- the value of the
configHashrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
latestRunTime
Returns the value of thelatestRunTimerecord component.- Returns:
- the value of the
latestRunTimerecord component
-
totalRuns
Returns the value of thetotalRunsrecord component.- Returns:
- the value of the
totalRunsrecord component
-
completedRuns
Returns the value of thecompletedRunsrecord component.- Returns:
- the value of the
completedRunsrecord component
-
failedRuns
Returns the value of thefailedRunsrecord component.- Returns:
- the value of the
failedRunsrecord component
-
runningRuns
Returns the value of therunningRunsrecord component.- Returns:
- the value of the
runningRunsrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
bestFitness
Returns the value of thebestFitnessrecord component.- Returns:
- the value of the
bestFitnessrecord component
-