SketchResult
@Serializable
@SerialName(value = "SketchResult")
DDSketch snapshot: logarithmic bins plus precomputed quantiles for probabilities.
Constructors
SketchResult
Properties
gamma
negativeBins
Negative-side bin counts keyed by signed log-bucket index.
positiveBins
Positive-side bin counts keyed by signed log-bucket index.
probabilities
Probabilities at which quantiles are evaluated; parallel to quantiles.
quantiles
Estimated quantile values, parallel to probabilities.
totalWeights
Cumulative observation weight folded in, equal to zeroCount plus the sum of positiveBins and negativeBins. Reported for convenience, not tracked independently: merge folds in the bins and the zero bucket and recomputes this, so a hand-built result whose total disagrees with its bins contributes only its bins.
zeroCount
Functions
equals
hashCode
toString
Link copied to clipboard
Project a SketchResult into a SparseHistogramResult by expanding its bin indices to bucket boundaries.