Class OpenLineageOutputDataSetOutputFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputDataSetOutputFacets
This class represents the map of output dataset facets for an output 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 icebergCommitReport facet.Return the outputStatistics facet.Return the subset facet.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageOutputDataSetOutputFacet> additionalProperties) Set up any additional facets that are not modelled as named properties.voidsetAdditionalProperty(String facetName, OpenLineageOutputDataSetOutputFacet facet) Add a facet that is not modelled as a named property.voidsetIcebergCommitReport(OpenLineageIcebergCommitReportOutputDataSetFacet icebergCommitReport) Set up the icebergCommitReport facet.voidsetOutputStatistics(OpenLineageOutputStatisticsOutputDataSetFacet outputStatistics) Set up the outputStatistics facet.voidSet up the subset facet.toString()Standard toString method.
-
Constructor Details
-
OpenLineageOutputDataSetOutputFacets
public OpenLineageOutputDataSetOutputFacets()Default constructor
-
-
Method Details
-
getOutputStatistics
Return the outputStatistics facet.- Returns:
- facet bean
-
setOutputStatistics
Set up the outputStatistics facet.- Parameters:
outputStatistics- facet bean
-
getSubset
Return the subset facet.- Returns:
- facet bean
-
setSubset
Set up the subset facet.- Parameters:
subset- facet bean
-
getIcebergCommitReport
Return the icebergCommitReport facet.- Returns:
- facet bean
-
setIcebergCommitReport
public void setIcebergCommitReport(OpenLineageIcebergCommitReportOutputDataSetFacet icebergCommitReport) Set up the icebergCommitReport facet.- Parameters:
icebergCommitReport- 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, OpenLineageOutputDataSetOutputFacet> 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.
-