Class OpenLineageDataQualityMetricsColumnMetrics

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

public class OpenLineageDataQualityMetricsColumnMetrics extends Object
This class represents the data quality metrics for a single column of a dataset. It is part of the OpenLineage spec.
  • Constructor Details

    • OpenLineageDataQualityMetricsColumnMetrics

      public OpenLineageDataQualityMetricsColumnMetrics()
      Default constructor
  • Method Details

    • getNullCount

      public Long getNullCount()
      Return the number of null values in this column for the rows evaluated.
      Returns:
      long
    • setNullCount

      public void setNullCount(Long nullCount)
      Set up the number of null values in this column for the rows evaluated.
      Parameters:
      nullCount - long
    • getDistinctCount

      public Long getDistinctCount()
      Return the number of distinct values in this column for the rows evaluated.
      Returns:
      long
    • setDistinctCount

      public void setDistinctCount(Long distinctCount)
      Set up the number of distinct values in this column for the rows evaluated.
      Parameters:
      distinctCount - long
    • getSum

      public Double getSum()
      Return the total sum of values in this column for the rows evaluated.
      Returns:
      double
    • setSum

      public void setSum(Double sum)
      Set up the total sum of values in this column for the rows evaluated.
      Parameters:
      sum - double
    • getCount

      public Double getCount()
      Return the number of values in this column.
      Returns:
      double
    • setCount

      public void setCount(Double count)
      Set up the number of values in this column.
      Parameters:
      count - double
    • getMin

      public Double getMin()
      Return the minimum value in this column.
      Returns:
      double
    • setMin

      public void setMin(Double min)
      Set up the minimum value in this column.
      Parameters:
      min - double
    • getMax

      public Double getMax()
      Return the maximum value in this column.
      Returns:
      double
    • setMax

      public void setMax(Double max)
      Set up the maximum value in this column.
      Parameters:
      max - double
    • getQuantiles

      public Map<String,Double> getQuantiles()
      Return the quantiles of the values in this column. The map key is the quantile, for example 0.1, 0.25, 0.5, 0.75, 1, and the value is the value at that quantile.
      Returns:
      map
    • setQuantiles

      public void setQuantiles(Map<String,Double> quantiles)
      Set up the quantiles of the values in this column. The map key is the quantile, for example 0.1, 0.25, 0.5, 0.75, 1, and the value is the value at that quantile.
      Parameters:
      quantiles - map
    • 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