Class OpenLineageInputDataSetInputFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputDataSetInputFacets
This class represents the map of input dataset facets for an input 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 dataQualityAssertions facet.Return the dataQualityMetrics facet.Return the icebergScanReport facet.Return the inputStatistics facet.Return the subset facet.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageInputDataSetInputFacet> additionalProperties) Set up any additional facets that are not modelled as named properties.voidsetAdditionalProperty(String facetName, OpenLineageInputDataSetInputFacet facet) Add a facet that is not modelled as a named property.voidsetDataQualityAssertions(OpenLineageDataQualityAssertionsInputDataSetFacet dataQualityAssertions) Set up the dataQualityAssertions facet.voidsetDataQualityMetrics(OpenLineageDataQualityMetricsInputDataSetFacet dataQualityMetrics) Set up the dataQualityMetrics facet.voidsetIcebergScanReport(OpenLineageIcebergScanReportInputDataSetFacet icebergScanReport) Set up the icebergScanReport facet.voidsetInputStatistics(OpenLineageInputStatisticsInputDataSetFacet inputStatistics) Set up the inputStatistics facet.voidSet up the subset facet.toString()Standard toString method.
-
Constructor Details
-
OpenLineageInputDataSetInputFacets
public OpenLineageInputDataSetInputFacets()Default constructor
-
-
Method Details
-
getDataQualityAssertions
Return the dataQualityAssertions facet.- Returns:
- facet bean
-
setDataQualityAssertions
public void setDataQualityAssertions(OpenLineageDataQualityAssertionsInputDataSetFacet dataQualityAssertions) Set up the dataQualityAssertions facet.- Parameters:
dataQualityAssertions- facet bean
-
getDataQualityMetrics
Return the dataQualityMetrics facet.- Returns:
- facet bean
-
setDataQualityMetrics
public void setDataQualityMetrics(OpenLineageDataQualityMetricsInputDataSetFacet dataQualityMetrics) Set up the dataQualityMetrics facet.- Parameters:
dataQualityMetrics- facet bean
-
getInputStatistics
Return the inputStatistics facet.- Returns:
- facet bean
-
setInputStatistics
Set up the inputStatistics facet.- Parameters:
inputStatistics- facet bean
-
getSubset
Return the subset facet.- Returns:
- facet bean
-
setSubset
Set up the subset facet.- Parameters:
subset- facet bean
-
getIcebergScanReport
Return the icebergScanReport facet.- Returns:
- facet bean
-
setIcebergScanReport
Set up the icebergScanReport facet.- Parameters:
icebergScanReport- 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
public void setAdditionalProperties(Map<String, OpenLineageInputDataSetInputFacet> additionalProperties) 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.
-