[フレーム]
Docs Pricing
Login Book a meeting Try Redis

TOPK.LIST

Syntax
TOPK.LIST key [WITHCOUNT]
Available in:
Redis Open Source / Bloom 2.0.0
Time complexity:
O(k*log(k)) where k is the value of top-k
ACL categories:
@topk, @read, @slow,

Return the full list of items in Top-K sketch.

Parameters

Examples

TOPK.LIST topk
1) foo
2) 42
3) bar
TOPK.LIST topk WITHCOUNT
1) foo
2) (integer) 12
3) 42
4) (integer) 7
5) bar
6) (integer) 2

Return information

k (or less) items in the given Top-k sketch. The list is sorted by decreased count estimation.

One of the following:

RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /