From 99725f9e0a90d4832ffb12b836f57c9baecd3c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=81=E5=B9=BC=E6=9E=97?= Date: Sat, 7 Oct 2023 14:54:36 +0800 Subject: [PATCH] Add bloom filter key-specs --- internal/commands/table.go | 180 +++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/internal/commands/table.go b/internal/commands/table.go index 6053b77..227ddec 100644 --- a/internal/commands/table.go +++ b/internal/commands/table.go @@ -4559,4 +4559,184 @@ var redisCommands = map[string]redisCommand{ }, }, }, + "BF.ADD": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.CARD": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.EXISTS": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.INFO": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.INSERT": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.LOADCHUNK": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.MADD": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.MEXISTS": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.RESERVE": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, + "BF.SCANDUMP": { + "BLOOM FILTER", + []keySpec{ + { + "index", + 1, + "", + 0, + "range", + 0, + 1, + 0, + 0, + 0, + 0, + }, + }, + }, }