Redis::CountMinSketch
Inherits Struct < Value < Object
Constructors
new(redis : Redis::Commands)
SourceInstance methods
incrby(key : String, item : String, increment : Int | String)
Sourceinfo(key : String)
Sourceinitbydim(key : String, width : Int | String, depth : Int | String)
Initializes a CountMinSketch at key with the specified width and depth.
redis.cms.initbydim "orders:#{product_id}:#{date}"
initbyprob(key : String, error : Float | String, probability : Float | String)
Sourcemerge(destination : String, sources : Enumerable(String))
Sourcequery(key : String, *items : String)
Source