Class OpenLineageHierarchyDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageHierarchyDataSetFacet
This class represents the hierarchy dataset facet. It describes the containment hierarchy of the dataset from the highest level to the lowest, for example DATABASE, SCHEMA, TABLE.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/HierarchyDatasetFacet.json#/$defs/HierarchyDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the dataset hierarchy levels, from highest to lowest level.inthashCode()Return hash code based on properties.voidsetHierarchy(List<OpenLineageHierarchyDataSetFacetLevel> hierarchy) Set up the dataset hierarchy levels, from highest to lowest level.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
-
OpenLineageHierarchyDataSetFacet
public OpenLineageHierarchyDataSetFacet()Default constructor
-
-
Method Details
-
getHierarchy
Return the dataset hierarchy levels, from highest to lowest level.- Returns:
- list
-
setHierarchy
Set up the dataset hierarchy levels, from highest to lowest level.- Parameters:
hierarchy- 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
-