struct

Redis::CountMinSketch

Inherits Struct < Value < Object

Constructors

Instance methods

incrby(key : String, item : String, increment : Int | String)
Source
info(key : String)
Source
initbydim(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}"
Source
initbyprob(key : String, error : Float | String, probability : Float | String)
Source
merge(destination : String, sources : Enumerable(String))
Source
query(key : String, *items : String)
Source

Nested types