Record Class RunListItem

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

public record RunListItem(String runId, String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String status, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, Long runtimeMillis, String configHash) extends Record
One row in filtered run listing.
  • Constructor Details

    • RunListItem

      public RunListItem(String runId, String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String status, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, Long runtimeMillis, String configHash)
      Creates an instance of a RunListItem record class.
      Parameters:
      runId - the value for the runId record component
      experimentId - the value for the experimentId 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
      status - the value for the status 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
      runtimeMillis - the value for the runtimeMillis record component
      configHash - the value for the configHash 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. All components in this record class are compared with Objects::equals(Object,Object).
      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
    • 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
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status 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
    • runtimeMillis

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

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