Method: Redis::Distributed#pfmerge
- Defined in:
- lib/redis/distributed.rb
#pfmerge(dest_key, *source_key) ⇒ Object
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.
1036 1037 1038 1039 1040 |
# File 'lib/redis/distributed.rb', line 1036 def pfmerge(dest_key, *source_key) ensure_same_node(:pfmerge, [dest_key, *source_key]) do |node| node.pfmerge(dest_key, *source_key) end end |