Class OpenLineageInputDataSetInputFacets

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

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

    • OpenLineageInputDataSetInputFacets

      public OpenLineageInputDataSetInputFacets()
      Default constructor
  • Method Details

    • getDataQualityAssertions

      public OpenLineageDataQualityAssertionsInputDataSetFacet getDataQualityAssertions()
      Return the dataQualityAssertions facet.
      Returns:
      facet bean
    • setDataQualityAssertions

      public void setDataQualityAssertions(OpenLineageDataQualityAssertionsInputDataSetFacet dataQualityAssertions)
      Set up the dataQualityAssertions facet.
      Parameters:
      dataQualityAssertions - facet bean
    • getDataQualityMetrics

      public OpenLineageDataQualityMetricsInputDataSetFacet getDataQualityMetrics()
      Return the dataQualityMetrics facet.
      Returns:
      facet bean
    • setDataQualityMetrics

      public void setDataQualityMetrics(OpenLineageDataQualityMetricsInputDataSetFacet dataQualityMetrics)
      Set up the dataQualityMetrics facet.
      Parameters:
      dataQualityMetrics - facet bean
    • getInputStatistics

      public OpenLineageInputStatisticsInputDataSetFacet getInputStatistics()
      Return the inputStatistics facet.
      Returns:
      facet bean
    • setInputStatistics

      public void setInputStatistics(OpenLineageInputStatisticsInputDataSetFacet inputStatistics)
      Set up the inputStatistics facet.
      Parameters:
      inputStatistics - facet bean
    • getSubset

      Return the subset facet.
      Returns:
      facet bean
    • setSubset

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

      public OpenLineageIcebergScanReportInputDataSetFacet getIcebergScanReport()
      Return the icebergScanReport facet.
      Returns:
      facet bean
    • setIcebergScanReport

      public void setIcebergScanReport(OpenLineageIcebergScanReportInputDataSetFacet icebergScanReport)
      Set up the icebergScanReport facet.
      Parameters:
      icebergScanReport - facet bean
    • getAdditionalProperties

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

      public void setAdditionalProperty(String facetName, OpenLineageInputDataSetInputFacet 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