Class OpenLineageDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacet
- Direct Known Subclasses:
OpenLineageCatalogDataSetFacet,OpenLineageColumnLineageDataSetFacet,OpenLineageDataQualityMetricsDataSetFacet,OpenLineageDataSetTypeDataSetFacet,OpenLineageDataSetVersionDataSetFacet,OpenLineageDataSourceDataSetFacet,OpenLineageDocumentationDataSetFacet,OpenLineageHierarchyDataSetFacet,OpenLineageLifecycleStateChangeDataSetFacet,OpenLineageLineageDataSetFacet,OpenLineageOwnershipDataSetFacet,OpenLineageSchemaDataSetFacet,OpenLineageStorageDataSetFacet,OpenLineageSymlinksDataSetFacet,OpenLineageTagsDataSetFacet
This class represents a dataset facet from the OpenLineage standard spec
https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/DatasetFacet. It is the superclass of the standard
facets of this kind, and is also used directly to hold custom facets (or standard facets that are not yet modelled)
whose properties are then found in additionalProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOpenLineageDataSetFacet(URI schemaURL) Constructor for subclasses that sets up the schema URL for the facet. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return whether this facet is being deleted (set to true to delete a facet).inthashCode()Return hash code based on properties.voidset_deleted(Boolean deleted) Set up whether this facet is being deleted (set to true to delete a facet).toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageDataSetFacet
public OpenLineageDataSetFacet()Default constructor -
OpenLineageDataSetFacet
Constructor for subclasses that sets up the schema URL for the facet.- Parameters:
schemaURL- URL of the JSON schema that describes this facet
-
-
Method Details
-
get_deleted
Return whether this facet is being deleted (set to true to delete a facet).- Returns:
- boolean
-
set_deleted
Set up whether this facet is being deleted (set to true to delete a facet).- Parameters:
deleted- boolean
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageFacet- 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 classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-