Method: Redis::Commands::HyperLogLog#pfmerge
- Defined in:
- lib/redis/commands/hyper_log_log.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.
32 33 34 |
# File 'lib/redis/commands/hyper_log_log.rb', line 32 def pfmerge(dest_key, *source_key) send_command([:pfmerge, dest_key, *source_key], &BoolifySet) end |