Record Class CheckpointRow
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.CheckpointRow
-
Constructor Summary
ConstructorsConstructorDescriptionCheckpointRow(long id, String runId, int iteration, String checkpointPath, String createdAt) Creates an instance of aCheckpointRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecheckpointPathrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.intReturns the value of theiterationrecord component.runId()Returns the value of therunIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckpointRow
Creates an instance of aCheckpointRowrecord class.- Parameters:
id- the value for theidrecord componentrunId- the value for therunIdrecord componentiteration- the value for theiterationrecord componentcheckpointPath- the value for thecheckpointPathrecord componentcreatedAt- the value for thecreatedAtrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
iteration
public int iteration()Returns the value of theiterationrecord component.- Returns:
- the value of the
iterationrecord component
-
checkpointPath
Returns the value of thecheckpointPathrecord component.- Returns:
- the value of the
checkpointPathrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-