Class OpenLineageParentRunFacetJob

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageParentRunFacetJob

public class OpenLineageParentRunFacetJob extends Object
This class represents the identity of a parent (or root) job referenced from the parent run facet. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageParentRunFacetJob

      public OpenLineageParentRunFacetJob()
      Default constructor
  • Method Details

    • getNamespace

      public String getNamespace()
      Return the namespace containing the job.
      Returns:
      string
    • setNamespace

      public void setNamespace(String namespace)
      Set up the namespace containing the job.
      Parameters:
      namespace - string
    • getName

      public String getName()
      Return the unique name for the job within that namespace.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the unique name for the job within that namespace.
      Parameters:
      name - string
    • getFacets

      public Map<String,Object> getFacets()
      Return the selected subset of facets of the job, forwarded here for convenience.
      Returns:
      map
    • setFacets

      public void setFacets(Map<String,Object> facets)
      Set up the selected subset of facets of the job, forwarded here for convenience.
      Parameters:
      facets - map
    • 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