Class OpenLineageDataQualityMetricsInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.longgetBytes()Return the number of bytes.Return the list of column metrics for the data set.longReturn the row count metric.inthashCode()Return hash code based on properties.voidsetBytes(long bytes) Set up the number of bytes.voidSet up the list of column metrics for the data set.voidsetRowCount(long rowCount) Set up the row count metric.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
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
Standard toString method.- Overrides:
toStringin classOpenLineageInputDataSetInputFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-