Saturday, 18 April 2015

PFADD key element1 element2 ... elementN


Syntax
PFADD key element1 element2 ... elementN
    Adds all elements to hyperLogLog data structure.

Returns
    Returns 1 If the approximated cardinality estimated by the HyperLogLog changed after executing the commands, else 0.

127.0.0.1:6379> pfadd sample 1 2 3 4 5 
(integer) 1 

 

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment