From 15bd5e3b3d9205988b7e7d48ffc3dfea35150c39 Mon Sep 17 00:00:00 2001 From: Eugene R Date: Sat, 29 Apr 2023 20:33:11 +0300 Subject: [PATCH] APPS-136 Document HyperLogLog commands (#194) --- website/docs/supported-redis-api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/docs/supported-redis-api.md b/website/docs/supported-redis-api.md index 1892cfa..dc8254d 100644 --- a/website/docs/supported-redis-api.md +++ b/website/docs/supported-redis-api.md @@ -11,7 +11,7 @@ ## Supported Redis Commands | Command | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +|------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [APPEND](https://redis.io/commands/append) _key value_ | If key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string. | | [AUTH](https://redis.io/commands/auth) _[username] password_ | The AUTH command authenticates the current connection. | | [BGSAVE](https://redis.io/commands/bgsave) | Returns OK. | @@ -68,6 +68,9 @@ | [PERSIST](https://redis.io/commands/persist) _key_ | Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent. | | [PEXPIRE](https://redis.io/commands/pexpire) _key milliseconds_ | This command works exactly like EXPIRE but the time to live of the key is specified in milliseconds instead of seconds. | | [PEXPIREAT](https://redis.io/commands/pexpireat) _key milliseconds-timestamp_ | PEXPIREAT has the same effect and semantic as EXPIREAT, but the Unix time at which the key will expire is specified in milliseconds instead of seconds. | +| [PFADD](https://redis.io/commands/pfadd) _key [element [element ...]]_ | Adds all the element arguments to the HyperLogLog data structure stored at the variable name specified as first argument. | +| [PFCOUNT](https://redis.io/commands/pfcount) _key [key ...]_ | Returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified variable/union of the HyperLogLogs passed. | +| [PFMERGE](https://redis.io/commands/pfmerge) _destkey [sourcekey [sourcekey ...]]_ | Merge multiple HyperLogLog values into a unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures. | | [PING](https://redis.io/commands/ping) _[message]_ | Returns PONG if no argument is provided, otherwise return a copy of the argument as a bulk. | | [PSETEX](https://redis.io/commands/psetex) _key milliseconds value_ | PSETEX works exactly like SETEX with the sole difference that the expire time is specified in milliseconds instead of seconds. | | [PTTL](https://redis.io/commands/pttl) _key_ | Returns the amount of remaining time in milliseconds. |