package metrics
- Alphabetic
- Public
- All
Type Members
-
case class
ComplianceFn(definition: Column, description: String) extends Product with Serializable
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
-
case class
MetricComparator[MV <: MetricValue](description: String, fn: (MV.T, MV.T) ⇒ Boolean) extends Product with Serializable
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
-
case class
MetricFilter(filter: Column, filterDescription: String) extends Product with Serializable
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)
-
sealed
trait
MetricValue extends AnyRef
Represents the value of a metric
- sealed trait MetricValueConstructor[MV <: MetricValue] extends AnyRef
Value Members
- object ComplianceFn extends Serializable
-
object
MetricComparator extends Serializable
Object for some helper functions to help with metric comparisons
- object MetricDescriptor
- object MetricFilter extends Serializable
- object MetricValue
- object MetricValueConstructor