Skip to content

Latest commit

 

History

History
43 lines (41 loc) · 1.53 KB

CountMinSketch.md

File metadata and controls

43 lines (41 loc) · 1.53 KB

CMS.INITBYDIM

    void initbydim(const sw::redis::StringView &key,
                   long long width,
                   long long depth);

CMS.INITBYPROB

    void initbyprob(const sw::redis::StringView &key,
                    double error,
                    double probability);

CMS.INCRBY

    template <typename Input>
    void incrby(const sw::redis::StringView &key,
                Input first,
                Input last);

    template <typename Input, typename Output>
    void incrby(const sw::redis::StringView &key,
                Input first,
                Input last,
                Output output);

CMS.QUERY

    template <typename Input, typename Output>
    void query(const sw::redis::StringView &key, 
               Input first, 
               Input last, 
               Output output);

CMS.MERGE

    void merge(const sw::redis::StringView &key, Input first, Input last);

CMS.INFO

    void info(const sw::redis::StringView &key, Output &output);