Class OpenLineageJobFacets


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

      • OpenLineageJobFacets

        public OpenLineageJobFacets()
        Default constructor
    • Method Detail

      • getAdditionalProperties

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

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