Class OpenLineageOutputDataSetOutputFacets

java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageOutputDataSetOutputFacets

public class OpenLineageOutputDataSetOutputFacets extends Object
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 Details

    • OpenLineageOutputDataSetOutputFacets

      public OpenLineageOutputDataSetOutputFacets()
      Default constructor
  • Method Details

    • getOutputStatistics

      public OpenLineageOutputStatisticsOutputDataSetFacet getOutputStatistics()
      Return the outputStatistics facet.
      Returns:
      facet bean
    • setOutputStatistics

      public void setOutputStatistics(OpenLineageOutputStatisticsOutputDataSetFacet outputStatistics)
      Set up the outputStatistics facet.
      Parameters:
      outputStatistics - facet bean
    • getSubset

      Return the subset facet.
      Returns:
      facet bean
    • setSubset

      public void setSubset(OpenLineageOutputSubsetOutputDataSetFacet subset)
      Set up the subset facet.
      Parameters:
      subset - facet bean
    • getIcebergCommitReport

      public OpenLineageIcebergCommitReportOutputDataSetFacet getIcebergCommitReport()
      Return the icebergCommitReport facet.
      Returns:
      facet bean
    • setIcebergCommitReport

      public void setIcebergCommitReport(OpenLineageIcebergCommitReportOutputDataSetFacet icebergCommitReport)
      Set up the icebergCommitReport facet.
      Parameters:
      icebergCommitReport - facet bean
    • getAdditionalProperties

      public Map<String,OpenLineageOutputDataSetOutputFacet> 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

      public void setAdditionalProperty(String facetName, OpenLineageOutputDataSetOutputFacet facet)
      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 facet
      facet - facet bean
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int