Class OpenLineageSchemaDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageSchemaDataSetFacet
This class represents the schema dataset facet. It describes the fields of the dataset.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-2-0/SchemaDatasetFacet.json#/$defs/SchemaDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
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
-
OpenLineageSchemaDataSetFacet
public OpenLineageSchemaDataSetFacet()Default constructor
-
-
Method Details
-
getFields
Return the fields of the dataset.- Returns:
- list
-
setFields
Set up the fields of the dataset.- Parameters:
fields- 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
-