Class OpenLineageRun


  • public class OpenLineageRun
    extends java.lang.Object
    This class represents the content of an open lineage run event as defined in JSON spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json. It is used internally in Egeria to pass this information to the Lineage Integrator OMIS's integration connectors.
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenLineageRun()
      Default constructor
    • 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.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      Return a map of additional custom facets.
      OpenLineageRunFacets getFacets()
      Return the map of facets describing the run of the job.
      java.util.UUID getRunId()
      Return the unique identifier of the job run.
      int hashCode()
      Return hash code based on properties.
      void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
      Set up a map of additional custom facets.
      void setFacets​(OpenLineageRunFacets facets)
      Set up the map of facets describing the run of the job.
      void setRunId​(java.util.UUID runId)
      Set up the unique identifier of the job 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

      • OpenLineageRun

        public OpenLineageRun()
        Default constructor
    • Method Detail

      • getRunId

        public java.util.UUID getRunId()
        Return the unique identifier of the job run.
        Returns:
        uuid
      • setRunId

        public void setRunId​(java.util.UUID runId)
        Set up the unique identifier of the job run.
        Parameters:
        runId - UUID value
      • getFacets

        public OpenLineageRunFacets getFacets()
        Return the map of facets describing the run of the job.
        Returns:
        run facets object
      • setFacets

        public void setFacets​(OpenLineageRunFacets facets)
        Set up the map of facets describing the run of the job.
        Parameters:
        facets - run facets object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.
        Returns:
        custom facet map (map from string to object)
      • setAdditionalProperties

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
        Set up a map of additional custom facets. The name is the identifier of the facet type and the object is the facet itself.
        Parameters:
        additionalProperties - custom facet map (map from string to object)
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        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 java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

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