Skip to content

Commit

Permalink
APPS-136 Document HyperLogLog commands (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn authored Apr 29, 2023
1 parent 5935e02 commit 15bd5e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/docs/supported-redis-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down Expand Up @@ -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. |
Expand Down

0 comments on commit 15bd5e3

Please sign in to comment.