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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.longgetBytes()Return the list of column metrics for the data set.longinthashCode()Return hash code based on properties.voidsetBytes(long bytes) voidSet up the list of column metrics for the data set.voidsetRowCount(long rowCount) 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() -
setRowCount
public void setRowCount(long rowCount) -
getBytes
public long getBytes() -
setBytes
public void setBytes(long bytes) -
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
-