Packages

final class Histogram extends Serializable

A histogram of the values in a given set.:w

Annotations
@SerialVersionUID() @SuppressWarnings()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Histogram(initSketch: Option[DDSketch] = None, hasExtremeValues: Boolean = false)

    Create a new histogram

Value Members

  1. def bins: List[(Double, Int)]

    Produce bins for the histogram.

    Produce bins for the histogram.

    returns

    a list of bins representing the histogram

    Annotations
    @SuppressWarnings()
  2. val hasExtremeValues: Boolean
  3. def isAnomalous(value: Double): Boolean

    Check if a value is anamolous according to the histogram.

    Check if a value is anamolous according to the histogram.

    value

    the value to check for in the histogram

    returns

    whether the value is anomalous according to the histogram

    Annotations
    @SuppressWarnings()
  4. def isAnomalous(value: BigInt): Boolean

    Check if a value is anamolous according to the histogram.

    Check if a value is anamolous according to the histogram.

    value

    the value to check for in the histogram

    returns

    whether the value is anomalous according to the histogram

    Annotations
    @SuppressWarnings()
  5. def isTrackable(value: Double): Boolean

    Check if a given value is trackable by this histogram

    Check if a given value is trackable by this histogram

    value

    the value to check

  6. def merge(value: BigDecimal): Histogram

    Merge a value into this histogram.

    Merge a value into this histogram.

    value

    the value to merge into the histogram

    returns

    the merged histogram

  7. def merge(value: BigInt): Histogram

    Merge a value into this histogram.

    Merge a value into this histogram.

    value

    the value to merge into the histogram

    returns

    the merged histogram

  8. def merge(value: Double): Histogram

    Merge a value into this histogram.

    Merge a value into this histogram.

    value

    the value to merge into the histogram

    returns

    the merged histogram

  9. def merge(other: Histogram): Histogram

    Merge this histogram with another histogram.

    Merge this histogram with another histogram.

    other

    the histogram to merge with

    returns

    the merged histogram

  10. var sketch: DDSketch
  11. def toJson: JObject