Interface MetricBasedObservation.Builder

    • Method Detail

      • metricName

        MetricBasedObservation.Builder metricName​(String metricName)

        The name of the data quality metric used for generating the observation.

        Parameters:
        metricName - The name of the data quality metric used for generating the observation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statisticId

        MetricBasedObservation.Builder statisticId​(String statisticId)

        The Statistic ID.

        Parameters:
        statisticId - The Statistic ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricValues

        MetricBasedObservation.Builder metricValues​(DataQualityMetricValues metricValues)

        An object of type DataQualityMetricValues representing the analysis of the data quality metric value.

        Parameters:
        metricValues - An object of type DataQualityMetricValues representing the analysis of the data quality metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • newRules

        MetricBasedObservation.Builder newRules​(Collection<String> newRules)

        A list of new data quality rules generated as part of the observation based on the data quality metric value.

        Parameters:
        newRules - A list of new data quality rules generated as part of the observation based on the data quality metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • newRules

        MetricBasedObservation.Builder newRules​(String... newRules)

        A list of new data quality rules generated as part of the observation based on the data quality metric value.

        Parameters:
        newRules - A list of new data quality rules generated as part of the observation based on the data quality metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.