java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageRunFacets

public class OpenLineageRunFacets extends 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 Details

    • OpenLineageRunFacets

      public OpenLineageRunFacets()
      Default constructor
  • Method Details

    • getParent

      public OpenLineageParentRunFacet getParent()
      Return details of the parent process.
      Returns:
      parent facet
    • setParent

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

      public OpenLineageNominalTimeRunFacet getNominalTime()
      Return the nominal time.
      Returns:
      facet
    • setNominalTime

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

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

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