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 by SCANDUMP)
  • 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.

Feedback

If you've found issues on this page, or have suggestions for improvement, please submit a request to merge or open an issue in the repository.