Class OpenLineageLineageDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageLineageDataSetFacet
This class represents the lineage dataset facet. It explicitly declares the dataset- and field-level sources of the dataset.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/LineageFacet.json#/$defs/LineageDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the field-level lineage: maps target field names to their source inputs.Return the dataset-level source inputs.inthashCode()Return hash code based on properties.voidsetFields(Map<String, OpenLineageLineageFieldEntry> fields) Set up the field-level lineage: maps target field names to their source inputs.voidsetInputs(List<OpenLineageLineageInput> inputs) Set up the dataset-level source inputs.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
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
-
OpenLineageLineageDataSetFacet
public OpenLineageLineageDataSetFacet()Default constructor
-
-
Method Details
-
getInputs
Return the dataset-level source inputs.- Returns:
- list
-
setInputs
Set up the dataset-level source inputs.- Parameters:
inputs- list
-
getFields
Return the field-level lineage: maps target field names to their source inputs.- Returns:
- map
-
setFields
Set up the field-level lineage: maps target field names to their source inputs.- Parameters:
fields- map
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageDataSetFacet- 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 classOpenLineageDataSetFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageDataSetFacet- Returns:
- int
-