Record Class RunDetail

java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.RunDetail

public record RunDetail(String runId, String experimentId, String configHash, String schemaVersion, String runName, String algorithmType, String modelType, String problemType, String representationType, String selectionType, String replacementType, String stoppingType, Integer maxIterations, String status, long seed, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, String bestSummary, Long runtimeMillis, String artifactsJson, String resumedFrom, String errorMessage, String configYaml, String configJson, String experimentCreatedAt) extends Record
Rich run + experiment view used by run detail API and dashboard.
  • Constructor Details

    • RunDetail

      public RunDetail(String runId, String experimentId, String configHash, String schemaVersion, String runName, String algorithmType, String modelType, String problemType, String representationType, String selectionType, String replacementType, String stoppingType, Integer maxIterations, String status, long seed, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, String bestSummary, Long runtimeMillis, String artifactsJson, String resumedFrom, String errorMessage, String configYaml, String configJson, String experimentCreatedAt)
      Creates an instance of a RunDetail record class.
      Parameters:
      runId - the value for the runId record component
      experimentId - the value for the experimentId record component
      configHash - the value for the configHash record component
      schemaVersion - the value for the schemaVersion record component
      runName - the value for the runName record component
      algorithmType - the value for the algorithmType record component
      modelType - the value for the modelType record component
      problemType - the value for the problemType record component
      representationType - the value for the representationType record component
      selectionType - the value for the selectionType record component
      replacementType - the value for the replacementType record component
      stoppingType - the value for the stoppingType record component
      maxIterations - the value for the maxIterations record component
      status - the value for the status record component
      seed - the value for the seed record component
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      iterations - the value for the iterations record component
      evaluations - the value for the evaluations record component
      bestFitness - the value for the bestFitness record component
      bestSummary - the value for the bestSummary record component
      runtimeMillis - the value for the runtimeMillis record component
      artifactsJson - the value for the artifactsJson record component
      resumedFrom - the value for the resumedFrom record component
      errorMessage - the value for the errorMessage record component
      configYaml - the value for the configYaml record component
      configJson - the value for the configJson record component
      experimentCreatedAt - the value for the experimentCreatedAt record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • runId

      public String runId()
      Returns the value of the runId record component.
      Returns:
      the value of the runId record component
    • experimentId

      public String experimentId()
      Returns the value of the experimentId record component.
      Returns:
      the value of the experimentId record component
    • configHash

      public String configHash()
      Returns the value of the configHash record component.
      Returns:
      the value of the configHash record component
    • schemaVersion

      public String schemaVersion()
      Returns the value of the schemaVersion record component.
      Returns:
      the value of the schemaVersion record component
    • runName

      public String runName()
      Returns the value of the runName record component.
      Returns:
      the value of the runName record component
    • algorithmType

      public String algorithmType()
      Returns the value of the algorithmType record component.
      Returns:
      the value of the algorithmType record component
    • modelType

      public String modelType()
      Returns the value of the modelType record component.
      Returns:
      the value of the modelType record component
    • problemType

      public String problemType()
      Returns the value of the problemType record component.
      Returns:
      the value of the problemType record component
    • representationType

      public String representationType()
      Returns the value of the representationType record component.
      Returns:
      the value of the representationType record component
    • selectionType

      public String selectionType()
      Returns the value of the selectionType record component.
      Returns:
      the value of the selectionType record component
    • replacementType

      public String replacementType()
      Returns the value of the replacementType record component.
      Returns:
      the value of the replacementType record component
    • stoppingType

      public String stoppingType()
      Returns the value of the stoppingType record component.
      Returns:
      the value of the stoppingType record component
    • maxIterations

      public Integer maxIterations()
      Returns the value of the maxIterations record component.
      Returns:
      the value of the maxIterations record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • seed

      public long seed()
      Returns the value of the seed record component.
      Returns:
      the value of the seed record component
    • startTime

      public String startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public String endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • iterations

      public Integer iterations()
      Returns the value of the iterations record component.
      Returns:
      the value of the iterations record component
    • evaluations

      public Long evaluations()
      Returns the value of the evaluations record component.
      Returns:
      the value of the evaluations record component
    • bestFitness

      public Double bestFitness()
      Returns the value of the bestFitness record component.
      Returns:
      the value of the bestFitness record component
    • bestSummary

      public String bestSummary()
      Returns the value of the bestSummary record component.
      Returns:
      the value of the bestSummary record component
    • runtimeMillis

      public Long runtimeMillis()
      Returns the value of the runtimeMillis record component.
      Returns:
      the value of the runtimeMillis record component
    • artifactsJson

      public String artifactsJson()
      Returns the value of the artifactsJson record component.
      Returns:
      the value of the artifactsJson record component
    • resumedFrom

      public String resumedFrom()
      Returns the value of the resumedFrom record component.
      Returns:
      the value of the resumedFrom record component
    • errorMessage

      public String errorMessage()
      Returns the value of the errorMessage record component.
      Returns:
      the value of the errorMessage record component
    • configYaml

      public String configYaml()
      Returns the value of the configYaml record component.
      Returns:
      the value of the configYaml record component
    • configJson

      public String configJson()
      Returns the value of the configJson record component.
      Returns:
      the value of the configJson record component
    • experimentCreatedAt

      public String experimentCreatedAt()
      Returns the value of the experimentCreatedAt record component.
      Returns:
      the value of the experimentCreatedAt record component