Class OpenLineageLineageJobFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageJobFacet
This class represents the lineage job facet. It explicitly declares the dataset-, field- and job-level relationships produced by the job.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/LineageFacet.json#/$defs/LineageJobFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the lineage entries describing target entities and the source entities that feed them.inthashCode()Return hash code based on properties.voidsetEntries(List<OpenLineageLineageEntry> entries) Set up the lineage entries describing target entities and the source entities that feed them.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageJobFacet
get_deleted, set_deletedMethods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageLineageJobFacet
public OpenLineageLineageJobFacet()Default constructor
-
-
Method Details
-
getEntries
Return the lineage entries describing target entities and the source entities that feed them.- Returns:
- list
-
setEntries
Set up the lineage entries describing target entities and the source entities that feed them.- Parameters:
entries- list
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageJobFacet- 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 classOpenLineageJobFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageJobFacet- Returns:
- int
-