Class OpenLineageDataQualityMetricsInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.integrationservices.lineage.properties.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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.long
getBytes()
Return the number of bytes.Return the list of column metrics for the data set.long
Return the row count metric.int
hashCode()
Return hash code based on properties.void
setBytes
(long bytes) Set up the number of bytes.void
Set up the list of column metrics for the data set.void
setRowCount
(long rowCount) Set up the row count metric.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.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:
toString
in 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:
equals
in classOpenLineageFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageFacet
- Returns:
- int
-