CF.LOADCHUNK
CF.LOADCHUNK key iterator data
- Available in:
- Redis Open Source / Bloom 1.0.0
- Time complexity:
- O(n), where n is the capacity
- ACL categories:
-
@cuckoo,@write,@slow, - Compatibility:
- Redis Software and Redis Cloud compatibility
Restores a cuckoo filter previously saved using CF.SCANDUMP.
See the CF.SCANDUMP command for example usage.
- This command overwrites the cuckoo filter stored under
key. - Make sure that the cuckoo filter is not changed between invocations.
Required arguments
key
is key name for a cuckoo filter to restore.
iterator
Iterator value associated with data (returned by CF.SCANDUMP)
data
Current data chunk (returned by CF.SCANDUMP)
Examples
See CF.SCANDUMP for an example.
Redis Software and Redis Cloud compatibility
| Redis Software |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
Return information
One of the following:
- Simple string reply:
OKif executed correctly. - Simple error reply in these cases: invalid arguments, wrong key type, or when invalid data was passed.