Class OpenLineageDataSetFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetFacets
This class represents the map of dataset facets for a dataset. The standard facets from the OpenLineage spec, and the custom facets
registered in the OpenLineage registry, are held in named properties. Any other facets (custom facets, or standard facets not yet modelled) are held in the
additionalProperties map, keyed by their facet name, so that nothing is lost on a round trip through these beans.
The map key of each facet in the JSON is the facet's key from the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return any additional facets that are not modelled as named properties.Return the catalog facet.Return the columnLineage facet.Return the dataQualityMetrics facet.Return the datasetType facet.Return the dataSource facet.Return the documentation facet.Return the hierarchy facet.Return the lifecycleStateChange facet.Return the lineage facet.Return the ownership facet.Return the schema facet.Return the storage facet.Return the symlinks facet.getTags()Return the tags facet.Return the version facet.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageDataSetFacet> additionalProperties) Set up any additional facets that are not modelled as named properties.voidsetAdditionalProperty(String facetName, OpenLineageDataSetFacet facet) Add a facet that is not modelled as a named property.voidsetCatalog(OpenLineageCatalogDataSetFacet catalog) Set up the catalog facet.voidsetColumnLineage(OpenLineageColumnLineageDataSetFacet columnLineage) Set up the columnLineage facet.voidsetDataQualityMetrics(OpenLineageDataQualityMetricsDataSetFacet dataQualityMetrics) Set up the dataQualityMetrics facet.voidsetDatasetType(OpenLineageDataSetTypeDataSetFacet datasetType) Set up the datasetType facet.voidsetDataSource(OpenLineageDataSourceDataSetFacet dataSource) Set up the dataSource facet.voidsetDocumentation(OpenLineageDocumentationDataSetFacet documentation) Set up the documentation facet.voidsetHierarchy(OpenLineageHierarchyDataSetFacet hierarchy) Set up the hierarchy facet.voidsetLifecycleStateChange(OpenLineageLifecycleStateChangeDataSetFacet lifecycleStateChange) Set up the lifecycleStateChange facet.voidsetLineage(OpenLineageLineageDataSetFacet lineage) Set up the lineage facet.voidsetOwnership(OpenLineageOwnershipDataSetFacet ownership) Set up the ownership facet.voidSet up the schema facet.voidsetStorage(OpenLineageStorageDataSetFacet storage) Set up the storage facet.voidsetSymlinks(OpenLineageSymlinksDataSetFacet symlinks) Set up the symlinks facet.voidSet up the tags facet.voidSet up the version facet.toString()Standard toString method.
-
Constructor Details
-
OpenLineageDataSetFacets
public OpenLineageDataSetFacets()Default constructor
-
-
Method Details
-
getDocumentation
Return the documentation facet.- Returns:
- facet bean
-
setDocumentation
Set up the documentation facet.- Parameters:
documentation- facet bean
-
getDataSource
Return the dataSource facet.- Returns:
- facet bean
-
setDataSource
Set up the dataSource facet.- Parameters:
dataSource- facet bean
-
getSchema
Return the schema facet.- Returns:
- facet bean
-
setSchema
Set up the schema facet.- Parameters:
schema- facet bean
-
getCatalog
Return the catalog facet.- Returns:
- facet bean
-
setCatalog
Set up the catalog facet.- Parameters:
catalog- facet bean
-
getColumnLineage
Return the columnLineage facet.- Returns:
- facet bean
-
setColumnLineage
Set up the columnLineage facet.- Parameters:
columnLineage- facet bean
-
getDatasetType
Return the datasetType facet.- Returns:
- facet bean
-
setDatasetType
Set up the datasetType facet.- Parameters:
datasetType- facet bean
-
getVersion
Return the version facet.- Returns:
- facet bean
-
setVersion
Set up the version facet.- Parameters:
version- facet bean
-
getLifecycleStateChange
Return the lifecycleStateChange facet.- Returns:
- facet bean
-
setLifecycleStateChange
public void setLifecycleStateChange(OpenLineageLifecycleStateChangeDataSetFacet lifecycleStateChange) Set up the lifecycleStateChange facet.- Parameters:
lifecycleStateChange- facet bean
-
getOwnership
Return the ownership facet.- Returns:
- facet bean
-
setOwnership
Set up the ownership facet.- Parameters:
ownership- facet bean
-
getStorage
Return the storage facet.- Returns:
- facet bean
-
setStorage
Set up the storage facet.- Parameters:
storage- facet bean
-
getSymlinks
Return the symlinks facet.- Returns:
- facet bean
-
setSymlinks
Set up the symlinks facet.- Parameters:
symlinks- facet bean
-
getTags
Return the tags facet.- Returns:
- facet bean
-
setTags
Set up the tags facet.- Parameters:
tags- facet bean
-
getHierarchy
Return the hierarchy facet.- Returns:
- facet bean
-
setHierarchy
Set up the hierarchy facet.- Parameters:
hierarchy- facet bean
-
getLineage
Return the lineage facet.- Returns:
- facet bean
-
setLineage
Set up the lineage facet.- Parameters:
lineage- facet bean
-
getDataQualityMetrics
Return the dataQualityMetrics facet.- Returns:
- facet bean
-
setDataQualityMetrics
Set up the dataQualityMetrics facet.- Parameters:
dataQualityMetrics- facet bean
-
getAdditionalProperties
Return any additional facets that are not modelled as named properties. They are serialized as top-level facet entries alongside the named facets.- Returns:
- map of facet name to facet
-
setAdditionalProperties
Set up any additional facets that are not modelled as named properties.- Parameters:
additionalProperties- map of facet name to facet
-
setAdditionalProperty
Add a facet that is not modelled as a named property. Jackson calls this for each unrecognized facet found in the JSON.- Parameters:
facetName- name (key) of the facetfacet- facet bean
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-