Class OpenLineageRunFacets


  • public class OpenLineageRunFacets
    extends java.lang.Object
    This class represents the map of run facets in the open lineage standard spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
    • Constructor Detail

      • OpenLineageRunFacets

        public OpenLineageRunFacets()
        Default constructor
    • Method Detail

      • setParent

        public void setParent​(OpenLineageParentRunFacet parent)
        Set up details of the parent process.
        Parameters:
        parent - parent facet
      • setNominalTime

        public void setNominalTime​(OpenLineageNominalTimeRunFacet nominalTime)
        Set up the nominal time.
        Parameters:
        nominalTime - facet
      • getAdditionalProperties

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

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​OpenLineageDataSetFacet> additionalProperties)
        Set up a map of additional data set facets. The name is the identifier of the facet type and the object is the facet itself.
        Parameters:
        additionalProperties - data set 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