Skip to content

RedisBloom tdigest commands (14/14 implemented)

TDIGEST.ADD

Adds one or more observations to a t-digest sketch

TDIGEST.BYRANK

Returns, for each input rank, an estimation of the value (floating-point) with that rank

TDIGEST.BYREVRANK

Returns, for each input reverse rank, an estimation of the value (floating-point) with that reverse rank

TDIGEST.CDF

Returns, for each input value, an estimation of the fraction (floating-point) of (observations smaller than the given value + half the observations equal to the given value)

TDIGEST.CREATE

Allocates memory and initializes a new t-digest sketch

TDIGEST.INFO

Returns information and statistics about a t-digest sketch

TDIGEST.MAX

Returns the maximum observation value from a t-digest sketch

TDIGEST.MERGE

Merges multiple t-digest sketches into a single sketch

TDIGEST.MIN

Returns the minimum observation value from a t-digest sketch

TDIGEST.QUANTILE

Returns, for each input fraction, an estimation of the value (floating point) that is smaller than the given fraction of observations

TDIGEST.RANK

Returns, for each input value (floating-point), the estimated rank of the value (the number of observations in the sketch that are smaller than the value + half the number of observations that are equal to the value)

TDIGEST.RESET

Resets a t-digest sketch: empty the sketch and re-initializes it.

TDIGEST.REVRANK

Returns, for each input value (floating-point), the estimated reverse rank of the value (the number of observations in the sketch that are larger than the value + half the number of observations that are equal to the value)

TDIGEST.TRIMMED_MEAN

Returns an estimation of the mean value from the sketch, excluding observation values outside the low and high cutoff quantiles