Class OpenLineageDataQualityMetricsDataSetFacet


public class OpenLineageDataQualityMetricsDataSetFacet extends OpenLineageDataSetFacet
This class represents the dataQualityMetrics dataset facet. It captures data quality metrics for the dataset as a whole. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-0/DataQualityMetricsDatasetFacet.json#/$defs/DataQualityMetricsDatasetFacet.
  • Constructor Details

    • OpenLineageDataQualityMetricsDataSetFacet

      public OpenLineageDataQualityMetricsDataSetFacet()
      Default constructor
  • Method Details

    • getRowCount

      public Long getRowCount()
      Return the number of rows evaluated.
      Returns:
      long
    • setRowCount

      public void setRowCount(Long rowCount)
      Set up the number of rows evaluated.
      Parameters:
      rowCount - long
    • getBytes

      public Long getBytes()
      Return the size in bytes.
      Returns:
      long
    • setBytes

      public void setBytes(Long bytes)
      Set up the size in bytes.
      Parameters:
      bytes - long
    • getFileCount

      public Long getFileCount()
      Return the number of files evaluated.
      Returns:
      long
    • setFileCount

      public void setFileCount(Long fileCount)
      Set up the number of files evaluated.
      Parameters:
      fileCount - long
    • getLastUpdated

      public String getLastUpdated()
      Return the ISO-8601 timestamp of the last time the dataset was changed.
      Returns:
      string
    • setLastUpdated

      public void setLastUpdated(String lastUpdated)
      Set up the ISO-8601 timestamp of the last time the dataset was changed.
      Parameters:
      lastUpdated - string
    • getColumnMetrics

      Return the metrics for each column. The map key is the column name.
      Returns:
      map
    • setColumnMetrics

      public void setColumnMetrics(Map<String,OpenLineageDataQualityMetricsColumnMetrics> columnMetrics)
      Set up the metrics for each column. The map key is the column name.
      Parameters:
      columnMetrics - map
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OpenLineageDataSetFacet
      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:
      equals in class OpenLineageDataSetFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class OpenLineageDataSetFacet
      Returns:
      int