Class OpenLineageNominalTimeRunFacet

java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageNominalTimeRunFacet

public class OpenLineageNominalTimeRunFacet extends OpenLineageRunFacet
This class represents the content of an open lineage schema for the nominal (expected) time of a job run facet as defined in JSON spec https://openlineage.io/spec/facets/1-0-0/NominalTimeRunFacet.json#/$defs/NominalTimeRunFacet. It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
  • Constructor Details

    • OpenLineageNominalTimeRunFacet

      public OpenLineageNominalTimeRunFacet()
      Default constructor
  • Method Details

    • getNominalStartTime

      public String getNominalStartTime()
      Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.
      Returns:
      zoned time stamp
    • setNominalStartTime

      public void setNominalStartTime(String nominalStartTime)
      Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run. AKA the schedule time.
      Parameters:
      nominalStartTime - zoned time stamp
    • getNominalEndTime

      public String getNominalEndTime()
      Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)
      Returns:
      zoned time stamp
    • setNominalEndTime

      public void setNominalEndTime(String nominalEndTime)
      Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run. (Should be the nominal start time of next run.)
      Parameters:
      nominalEndTime - zoned time stamp
    • 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 OpenLineageRunFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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