Method: Redis#pfmerge
- Defined in:
- lib/redis.rb
#pfmerge(dest_key, *source_key) ⇒ Boolean
Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures.
2466 2467 2468 2469 2470 |
# File 'lib/redis.rb', line 2466 def pfmerge(dest_key, *source_key) synchronize do |client| client.call([:pfmerge, dest_key, *source_key], &_boolify_set) end end |