This is an automated email from the ASF dual-hosted git repository.
hulk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git
The following commit(s) were added to refs/heads/main by this push:
new 99b4d12b Add object command (#290)
99b4d12b is described below
commit 99b4d12b82a34339fd116e5c0fe8632efbcb70bc
Author: Shubham Jaiswal <[email protected]>
AuthorDate: Sat Apr 12 15:11:19 2025 +0530
Add object command (#290)
---
docs/supported-commands.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/supported-commands.md b/docs/supported-commands.md
index 39e1f277..044fb22d 100644
--- a/docs/supported-commands.md
+++ b/docs/supported-commands.md
@@ -154,6 +154,7 @@
| PEXPIREAT | ✓ | v1.0.0 | Sets a key's time to live
based on a Unix timestamp in milliseconds. (Precision is in seconds if old
encoding is used (see [#1033](https://github.com/apache/kvrocks/issues/1033))) |
| PTTL | ✓ | v1.0.0 | Returns the remaining time
to live of a key in milliseconds. (precision is in seconds if old encoding is
used (see [#1033](https://github.com/apache/kvrocks/issues/1033))) |
| TTL | ✓ | v1.0.0 | Returns the remaining time
to live of a key in seconds.
|
+| OBJECT | ✓ | v1.0.1 | This is a container command
for object introspection commands.
|
| TYPE | ✓ | v1.0.0 | Returns the data type of
the value stored at a key.
|
| SCAN | ✓ | v1.0.0 | Incrementally iterates over
keys in the keyspace.
|
| RENAME | ✓ | v2.8.0 | Renames a key.
|
@@ -165,6 +166,18 @@
| COPY | ✓ | v2.9.0 | Copies a key to a new key.
|
| SORT | ✓ | v2.9.0 | Sorts the elements in a
list, set, or sorted set.
|
+### OBJECT subcommands
+
+These commands are subcommands for `OBJECT`, using as `OBJECT DUMP` etc.
+
+| SUBCOMMAND | Supported OR Not | Since Version | Description
|
+| ---------- | ---------------- | ------------- |
-------------------------------------------------------------------------------------------------------------
|
+| DUMP | ✓ | v1.0.1 | Dump the detailed
information of the key. |
+| ENCODING | x | - | Returns the internal
encoding of a object.
|
+| FREQ | x | - | Returns the logarithmic
access frequency counter of a object.
|
+| IDLETIME | x | - | Returns the time since the
last access to a object.
|
+| REFCOUNT | x | - | Returns the reference count
of a value of key.
|
+
## Bit commands
| Command | Supported OR Not | Since Version | Description
|