Record Class PostgresOpenLineageEventDigest.RunRow

java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.integration.openlineage.postgres.PostgresOpenLineageEventDigest.RunRow
Record Components:
status - status the event reports, or null if it does not affect the status
startTime - time of a START event
endTime - time of a COMPLETE, FAIL or ABORT event
Enclosing class:
PostgresOpenLineageEventDigest

public static record PostgresOpenLineageEventDigest.RunRow(String status, Date startTime, Date endTime) extends Record
Contribution of the event to its run. The times that the event does not set are null.
  • Constructor Details

    • RunRow

      public RunRow(String status, Date startTime, Date endTime)
      Creates an instance of a RunRow record class.
      Parameters:
      status - the value for the status record component
      startTime - the value for the startTime record component
      endTime - the value for the endTime 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.
    • status

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

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

      public Date endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component