Class OpenLineageDataQualityMetricsInputDataSetFacet


public class OpenLineageDataQualityMetricsInputDataSetFacet extends OpenLineageInputDataSetInputFacet
This class represents the dataQualityMetrics input dataset facet. It captures data quality metrics for the data read from the dataset by the run. It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-0-3/DataQualityMetricsInputDatasetFacet.json#/$defs/DataQualityMetricsInputDatasetFacet.
  • Constructor Details

    • OpenLineageDataQualityMetricsInputDataSetFacet

      public OpenLineageDataQualityMetricsInputDataSetFacet()
      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 OpenLineageInputDataSetInputFacet
      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 OpenLineageFacet
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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