Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getNominalEndTime()
      Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.
      java.lang.String getNominalStartTime()
      Return an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.
      int hashCode()
      Return hash code based on properties.
      void setNominalEndTime​(java.lang.String nominalEndTime)
      Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal end time (excluded) of the run.
      void setNominalStartTime​(java.lang.String nominalStartTime)
      Set up an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the nominal start time (included) of the run.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OpenLineageNominalTimeRunFacet

        public OpenLineageNominalTimeRunFacet()
        Default constructor
    • Method Detail

      • getNominalStartTime

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class OpenLineageRunFacet
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.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