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 Constructor Description OpenLineageDataQualityMetricsInputDataSetFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.longgetBytes()OpenLineageDataQualityMetricsInputDataSetFacetColumnMetricsgetColumnMetrics()Return the list of column metrics for the data set.longgetRowCount()inthashCode()Return hash code based on properties.voidsetBytes(long bytes)voidsetColumnMetrics(OpenLineageDataQualityMetricsInputDataSetFacetColumnMetrics columnMetrics)Set up the list of column metrics for the data set.voidsetRowCount(long rowCount)StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
getRowCount
public long getRowCount()
-
setRowCount
public void setRowCount(long rowCount)
-
getBytes
public long getBytes()
-
setBytes
public void setBytes(long bytes)
-
getColumnMetrics
public OpenLineageDataQualityMetricsInputDataSetFacetColumnMetrics 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
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageInputDataSetInputFacet- 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:
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
-
-