public interface RedisHyperLogLogCommands
| Modifier and Type | Method and Description |
|---|---|
Long |
pfAdd(byte[] key,
byte[]... values)
Adds given values to the HyperLogLog stored at given key.
|
Long |
pfCount(byte[]... keys)
Return the approximated cardinality of the structures observed by the HyperLogLog at key(s).
|
void |
pfMerge(byte[] destinationKey,
byte[]... sourceKeys)
Merge N different HyperLogLogs at sourceKeys into a single destinationKey.
|
@Nullable Long pfAdd(byte[] key, byte[]... values)
key - must not be null.values - must not be null.@Nullable Long pfCount(byte[]... keys)
keys - must not be null.void pfMerge(byte[] destinationKey,
byte[]... sourceKeys)
destinationKey - must not be null.sourceKeys - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.