BF.LOADCHUNK
          
        
        
        
        
        
        
        Syntax
        BF.LOADCHUNK key iterator data
- Available in:
- Redis Open Source / Bloom 1.0.0
- Time complexity:
- O(n), where n is the capacity
- ACL categories:
- 
              
                @bloom,@write,@slow,
Restores a Bloom filter previously saved using BF.SCANDUMP.
See the BF.SCANDUMP command for example usage.
- This command overwrites the Bloom filter stored under key.
- Make sure that the Bloom filter is not changed between invocations.
Required arguments
key
is key name for a Bloom filter to restore.
iterator
Iterator value associated with data (returned by BF.SCANDUMP)
data
Current data chunk (returned by BF.SCANDUMP)
Examples
See BF.SCANDUMP for an example.
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.