Packages

case class CountDistinctValuesMetric(onColumns: List[String], filter: MetricFilter = MetricFilter.noFilter) extends MetricDescriptor with Filterable with Product with Serializable

A metric that calculates the number of distinct values in a column or across several columns

onColumns

- the columns for which you are counting distinct values

filter

- the filter to be applied before the distinct count is calculated

Linear Supertypes
Serializable, Serializable, Product, Equals, Filterable, MetricDescriptor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CountDistinctValuesMetric
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Filterable
  7. MetricDescriptor
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CountDistinctValuesMetric(onColumns: List[String], filter: MetricFilter = MetricFilter.noFilter)

    onColumns

    - the columns for which you are counting distinct values

    filter

    - the filter to be applied before the distinct count is calculated

Type Members

  1. type MC = DistinctValuesMetricCalculator
    Definition Classes
    CountDistinctValuesMetric → MetricDescriptor
  2. type MetricType = MetricCalculator.DistinctValuesMetricCalculator.MetricType
    Definition Classes
    MetricDescriptor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. val filter: MetricFilter

    A filter to apply before calculation of the metric

    A filter to apply before calculation of the metric

    returns

    the MetricFilter

    Definition Classes
    CountDistinctValuesMetricFilterable
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def metricCalculator: DistinctValuesMetricCalculator

    The metricCalculator which contains key logic for calculating a MetricValue for this MetricDescriptor

    The metricCalculator which contains key logic for calculating a MetricValue for this MetricDescriptor

    returns

    the MetricCalculator

    Definition Classes
    CountDistinctValuesMetric → MetricDescriptor
  12. def metricName: String

    A name for the metric

    A name for the metric

    Definition Classes
    CountDistinctValuesMetric → MetricDescriptor
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. val onColumns: List[String]
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toSimpleMetricDescriptor: SimpleMetricDescriptor

    A representation of the MetricDescriptor that can be more easily handled for persistence

    A representation of the MetricDescriptor that can be more easily handled for persistence

    returns

    the SimpleMetricDescriptor

    Definition Classes
    CountDistinctValuesMetric → MetricDescriptor
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Filterable

Inherited from MetricDescriptor

Inherited from AnyRef

Inherited from Any

Ungrouped