DDSketch
@Serializable
@SerialName(value = "DDSketch")
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 = StatDefaults.DD_SKETCH_RELATIVE_ERROR, probabilities: List<Double> = StatDefaults.quantileProbabilities().toList(), minIndexableValue: Double = StatDefaults.DD_SKETCH_MIN_INDEXABLE_VALUE, maxIndexableValue: Double = StatDefaults.DD_SKETCH_MAX_INDEXABLE_VALUE)(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.