Class OpenLineageParentRunFacetRun

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

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

    • OpenLineageParentRunFacetRun

      public OpenLineageParentRunFacetRun()
      Default constructor
  • Method Details

    • getRunId

      public UUID getRunId()
      Return the globally unique ID of the run.
      Returns:
      uuid
    • setRunId

      public void setRunId(UUID runId)
      Set up the globally unique ID of the run.
      Parameters:
      runId - uuid
    • getFacets

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

      public void setFacets(Map<String,Object> facets)
      Set up the selected subset of facets of the run, 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