Class OpenLineageNominalTimeRunFacet


public class OpenLineageNominalTimeRunFacet extends OpenLineageRunFacet
This class represents the nominalTime run facet. It captures the nominal (scheduled) start and end time of the run. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-1/NominalTimeRunFacet.json#/$defs/NominalTimeRunFacet.
  • Constructor Details

    • OpenLineageNominalTimeRunFacet

      public OpenLineageNominalTimeRunFacet()
      Default constructor
  • Method Details

    • getNominalStartTime

      public String getNominalStartTime()
      Return the ISO-8601 timestamp representing the nominal start time (included) of the run. AKA the schedule time.
      Returns:
      string
    • setNominalStartTime

      public void setNominalStartTime(String nominalStartTime)
      Set up the ISO-8601 timestamp representing the nominal start time (included) of the run. AKA the schedule time.
      Parameters:
      nominalStartTime - string
    • getNominalEndTime

      public String getNominalEndTime()
      Return the ISO-8601 timestamp representing the nominal end time (excluded) of the run. AKA the schedule time.
      Returns:
      string
    • setNominalEndTime

      public void setNominalEndTime(String nominalEndTime)
      Set up the ISO-8601 timestamp representing the nominal end time (excluded) of the run. AKA the schedule time.
      Parameters:
      nominalEndTime - string
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageRunFacet
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class OpenLineageFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class OpenLineageFacet
      Returns:
      int