Package

com.github.timgent.dataflare

metrics

Permalink

package metrics

Visibility
  1. Public
  2. All

Type Members

  1. case class ComplianceFn(definition: Column, description: String) extends Product with Serializable

    Permalink

    Describes a compliance check for a dataset

    Describes a compliance check for a dataset

    definition

    - a column definition which should return true or false. true if the dataset row meets the compliance check you want, otherwise false.

    description

    - a description of the compliance function which will be used when persisting corresponding metrics

  2. case class MetricComparator[MV <: MetricValue](description: String, fn: (MV.T, MV.T) ⇒ Boolean) extends Product with Serializable

    Permalink

    Comparison to apply between 2 metrics

    Comparison to apply between 2 metrics

    MV

    - the type of the metric values being compared

    description

    - description of what this comparison does

    fn

    - the function which compares 2 metrics and returns true is the comparison passes, otherwise returns false

  3. case class MetricFilter(filter: Column, filterDescription: String) extends Product with Serializable

    Permalink

    Defines a filter to be applied before a metric is calculated

    Defines a filter to be applied before a metric is calculated

    filter

    - a column containing true or false depending if the row should be included in the metrics calculation

    filterDescription

    - a readable description of the filter (used for persistence)

  4. sealed trait MetricValue extends AnyRef

    Permalink

    Represents the value of a metric

  5. sealed trait MetricValueConstructor[MV <: MetricValue] extends AnyRef

    Permalink

Value Members

  1. object ComplianceFn extends Serializable

    Permalink
  2. object MetricComparator extends Serializable

    Permalink

    Object for some helper functions to help with metric comparisons

  3. object MetricDescriptor

    Permalink
  4. object MetricFilter extends Serializable

    Permalink
  5. object MetricValue

    Permalink
  6. object MetricValueConstructor

    Permalink

Ungrouped