Class OpenLineageColumnLineageDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageColumnLineageDataSetFacet
This class represents the columnLineage dataset facet. It maps each output field of the dataset to the input fields used to evaluate it.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-2-0/ColumnLineageDatasetFacet.json#/$defs/ColumnLineageDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the column level lineage that affects the whole dataset, for example filtering, sorting, grouping or joining.Return the column level lineage that maps output fields (the map keys) to the input fields used to evaluate them.inthashCode()Return hash code based on properties.voidSet up the column level lineage that affects the whole dataset, for example filtering, sorting, grouping or joining.voidSet up the column level lineage that maps output fields (the map keys) to the input fields used to evaluate them.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
-
OpenLineageColumnLineageDataSetFacet
public OpenLineageColumnLineageDataSetFacet()Default constructor
-
-
Method Details
-
getFields
Return the column level lineage that maps output fields (the map keys) to the input fields used to evaluate them.- Returns:
- map
-
setFields
Set up the column level lineage that maps output fields (the map keys) to the input fields used to evaluate them.- Parameters:
fields- map
-
getDataset
Return the column level lineage that affects the whole dataset, for example filtering, sorting, grouping or joining.- Returns:
- list
-
setDataset
Set up the column level lineage that affects the whole dataset, for example filtering, sorting, grouping or joining.- Parameters:
dataset- list
-
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
-