On this page:
redis-hll-add!
redis-hll-count
redis-hll-merge!

9 HyperLogLog Commands

procedure

(redis-hll-add! client key value ...+)  boolean?

  client : redis?
  key : redis-key/c
  value : redis-string/c
Adds all the values to the HyperLogLog struct at key.
Commands used by this function: PFADD

procedure

(redis-hll-count client key ...+)  exact-nonnegative-integer?

  client : redis?
  key : redis-key/c
Returns the approximate cardinality of the union of the given HyperLogLog structs at each key.
Commands used by this function: PFCOUNT

procedure

(redis-hll-merge! client dest key ...+)  boolean?

  client : redis?
  dest : redis-key/c
  key : redis-key/c
Writes the union of the given HyperLogLog structs at each key into the dest key.
Commands used by this function: PFMERGE