Class OpenLineageParentRunFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageParentRunFacet
This class represents the parent run facet. It links a run to the parent run (and optionally the root run) that spawned it.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-2-0/ParentRunFacet.json#/$defs/ParentRunFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getJob()Return the parent job.getRoot()Return the root run and job of the hierarchy.getRun()Return the parent run.inthashCode()Return hash code based on properties.voidSet up the parent job.voidSet up the root run and job of the hierarchy.voidSet up the parent run.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageParentRunFacet
public OpenLineageParentRunFacet()Default constructor
-
-
Method Details
-
getRun
Return the parent run.- Returns:
- bean
-
setRun
Set up the parent run.- Parameters:
run- bean
-
getJob
Return the parent job.- Returns:
- bean
-
setJob
Set up the parent job.- Parameters:
job- bean
-
getRoot
Return the root run and job of the hierarchy.- Returns:
- bean
-
setRoot
Set up the root run and job of the hierarchy.- Parameters:
root- bean
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageRunFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-