Name/key of the filter
Options
Add an item to the filter
Item
Whether to accept duplicates
1 if item was newly added, 0 if item already exists and notExistsOnly is true, error otherwise
Connect to Redis server
Count the number of occurrences an item may be in the filter. Because this is a probabilistic data structure, this may not necessarily be accurate.
Item
The number of occurrences of item
Disconnect from Redis server
Check if an item already exists in the filter
Item
1 if item may exist, 0 if item certainly does not exist
Remove an occurrence of an item from the filter. Remove elements that are not in the filter may delete a different item, resulting in false negatives!
Item
1 if item has been removed, 0 if item was not found
Reserve space for the filter
Estimated capacity for the filter
Number of items in each bucket
Number of attempts to swap buckets before declaring filter as full and creating an additional filter
Expansion rate
OK on success, error otherwise
Reset the filter
1 on success, 0 otherwise
Cuckoo filter