CF.LOADCHUNK
Syntax
CF.LOADCHUNK key iterator data
- Available in:
- Redis Stack / Bloom 1.0.0
- Time complexity:
- O(n), where n is the capacity
Restores a filter previously saved using SCANDUMP. See the SCANDUMP command
for example usage.
This command overwrites any cuckoo filter stored under key. Make sure that
the cuckoo filter is not be modified between invocations.
Parameters
- key: Name of the key to restore
- iter: Iterator value associated with
data(returned bySCANDUMP) - data: Current data chunk (returned by
SCANDUMP)
Return
Simple string reply - OK if executed correctly, or Error reply otherwise.
Examples
See BF.SCANDUMP for an example.