struct Redis::TopK

Defined in:

topk.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(redis : Redis::Commands) #

[View source]

Instance Method Detail

def add(key : String, items : Enumerable(String)) #

[View source]
def add(key : String, *items : String) #

[View source]
def incrby(key : String, item : String, amount : Int | String) #

[View source]
def info(key : String) #

[View source]
def list(key : String, *, withcount = false) #

[View source]
def query(key : String, items : Enumerable(String)) #

[View source]
def query(key : String, *items : String) #

[View source]
def reserve(key : String, topk : Int | String, width : Int | String, depth : Int | String, decay : Float | String) #

[View source]
def reserve(key : String, topk : Int | String) #

[View source]