kumulant

DDSketch

@Serializable
@SerialName(value = "DDSketch")
data class DDSketch(val relativeError: Double = 0.01, val probabilities: List<Double> = listOf(0.5, 0.75, 0.9, 0.95, 0.99, 0.999), val minIndexableValue: Double = 1.0E-9, val maxIndexableValue: Double = 1.0E12) : SeriesStatSpec<SketchResult> (source)

Spec for DDSketchStat. probabilities is a List on the wire because most formats serialize lists more cleanly than primitive arrays; converted to a DoubleArray at materialize time.

Constructors

DDSketch

constructor(relativeError: Double = 0.01, probabilities: List<Double> = listOf(0.5, 0.75, 0.9, 0.95, 0.99, 0.999), minIndexableValue: Double = 1.0E-9, maxIndexableValue: Double = 1.0E12)(source)

Properties

maxIndexableValue

Largest magnitude given its own bin; larger values fold into the top bin.

minIndexableValue

Smallest magnitude given its own bin; smaller non-zero values fold into the bottom bin.

probabilities

Quantiles to evaluate at read time.

relativeError

Relative error guarantee on the returned quantiles.