Class OpenLineageDataQualityMetricsColumnMetrics
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataQualityMetricsColumnMetrics
This class represents the data quality metrics for a single column of a dataset.
It is part of the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getCount()Return the number of values in this column.Return the number of distinct values in this column for the rows evaluated.getMax()Return the maximum value in this column.getMin()Return the minimum value in this column.Return the number of null values in this column for the rows evaluated.Return the quantiles of the values in this column.getSum()Return the total sum of values in this column for the rows evaluated.inthashCode()Return hash code based on properties.voidSet up the number of values in this column.voidsetDistinctCount(Long distinctCount) Set up the number of distinct values in this column for the rows evaluated.voidSet up the maximum value in this column.voidSet up the minimum value in this column.voidsetNullCount(Long nullCount) Set up the number of null values in this column for the rows evaluated.voidsetQuantiles(Map<String, Double> quantiles) Set up the quantiles of the values in this column.voidSet up the total sum of values in this column for the rows evaluated.toString()Standard toString method.
-
Constructor Details
-
OpenLineageDataQualityMetricsColumnMetrics
public OpenLineageDataQualityMetricsColumnMetrics()Default constructor
-
-
Method Details
-
getNullCount
Return the number of null values in this column for the rows evaluated.- Returns:
- long
-
setNullCount
Set up the number of null values in this column for the rows evaluated.- Parameters:
nullCount- long
-
getDistinctCount
Return the number of distinct values in this column for the rows evaluated.- Returns:
- long
-
setDistinctCount
Set up the number of distinct values in this column for the rows evaluated.- Parameters:
distinctCount- long
-
getSum
Return the total sum of values in this column for the rows evaluated.- Returns:
- double
-
setSum
Set up the total sum of values in this column for the rows evaluated.- Parameters:
sum- double
-
getCount
Return the number of values in this column.- Returns:
- double
-
setCount
Set up the number of values in this column.- Parameters:
count- double
-
getMin
Return the minimum value in this column.- Returns:
- double
-
setMin
Set up the minimum value in this column.- Parameters:
min- double
-
getMax
Return the maximum value in this column.- Returns:
- double
-
setMax
Set up the maximum value in this column.- Parameters:
max- 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
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
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.
-