Class OpenLineageDataQualityMetricsInputDataSetFacet


public class OpenLineageDataQualityMetricsInputDataSetFacet extends OpenLineageInputDataSetInputFacet
This class represents the data quality metrics facet in the open lineage standard spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
  • Constructor Details

    • OpenLineageDataQualityMetricsInputDataSetFacet

      public OpenLineageDataQualityMetricsInputDataSetFacet()
      Default constructor
  • Method Details

    • getRowCount

      public long getRowCount()
      Return the row count metric.
      Returns:
      long
    • setRowCount

      public void setRowCount(long rowCount)
      Set up the row count metric.
      Parameters:
      rowCount - long
    • getBytes

      public long getBytes()
      Return the number of bytes.
      Returns:
      long
    • setBytes

      public void setBytes(long bytes)
      Set up the number of bytes.
      Parameters:
      bytes - long
    • getColumnMetrics

      Return the list of column metrics for the data set.
      Returns:
      list of column metrics
    • setColumnMetrics

      public void setColumnMetrics(OpenLineageDataQualityMetricsInputDataSetFacetColumnMetrics columnMetrics)
      Set up the list of column metrics for the data set.
      Parameters:
      columnMetrics - list of column metrics
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageInputDataSetInputFacet
      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 OpenLineageFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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