Interface RedisHyperLogLogCommands
- All Known Subinterfaces:
- DefaultedRedisClusterConnection,- DefaultedRedisConnection,- RedisClusterConnection,- RedisCommands,- RedisConnection,- RedisConnectionUtils.RedisConnectionProxy,- StringRedisConnection
- All Known Implementing Classes:
- AbstractRedisConnection,- DefaultStringRedisConnection,- JedisClusterConnection,- JedisConnection,- LettuceClusterConnection,- LettuceConnection
public interface RedisHyperLogLogCommands
HyperLogLog specific commands supported by Redis.
- Since:
- 1.5
- Author:
- Christoph Strobl, Mark Paluch
- 
Method SummaryModifier and TypeMethodDescriptionpfAdd(byte[] key, byte[]... values) Adds given values to the HyperLogLog stored at given key.pfCount(byte[]... keys) Return the approximated cardinality of the structures observed by the HyperLogLog at key(s).voidpfMerge(byte[] destinationKey, byte[]... sourceKeys) Merge N different HyperLogLogs at sourceKeys into a single destinationKey.
- 
Method Details- 
pfAddAdds given values to the HyperLogLog stored at given key.- Parameters:
- key- must not be null.
- values- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pfCountReturn the approximated cardinality of the structures observed by the HyperLogLog at key(s).- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pfMergevoid pfMerge(byte[] destinationKey, byte[]... sourceKeys) Merge N different HyperLogLogs at sourceKeys into a single destinationKey.- Parameters:
- destinationKey- must not be null.
- sourceKeys- must not be null.
- See Also:
 
 
-