public interface TopKFilterCommands
Modifier and Type | Method and Description |
---|---|
List<String> |
topkAdd(String key,
String... items)
TOPK.ADD {key} {item ...} |
List<Long> |
topkCount(String key,
String... items)
Deprecated.
As of RedisBloom 2.4, this command is regarded as deprecated.
|
List<String> |
topkIncrBy(String key,
Map<String,Long> itemIncrements)
TOPK.INCRBY {key} {item} {increment} [{item} {increment} ...] |
Map<String,Object> |
topkInfo(String key)
TOPK.INFO {key} |
List<String> |
topkList(String key)
TOPK.LIST {key} |
List<Boolean> |
topkQuery(String key,
String... items)
TOPK.QUERY {key} {item ...} |
String |
topkReserve(String key,
long topk)
TOPK.RESERVE {key} {topk} |
String |
topkReserve(String key,
long topk,
long width,
long depth,
double decay)
TOPK.RESERVE {key} {topk} [{width} {depth} {decay}] |
String topkReserve(String key, long topk)
TOPK.RESERVE {key} {topk}
key
- topk
- String topkReserve(String key, long topk, long width, long depth, double decay)
TOPK.RESERVE {key} {topk} [{width} {depth} {decay}]
key
- topk
- width
- depth
- decay
- List<String> topkAdd(String key, String... items)
TOPK.ADD {key} {item ...}
key
- items
- List<String> topkIncrBy(String key, Map<String,Long> itemIncrements)
TOPK.INCRBY {key} {item} {increment} [{item} {increment} ...]
key
- itemIncrements
- item and increment pairsList<Boolean> topkQuery(String key, String... items)
TOPK.QUERY {key} {item ...}
key
- items
- @Deprecated List<Long> topkCount(String key, String... items)
TOPK.COUNT {key} {item ...}
key
- items
- List<String> topkList(String key)
TOPK.LIST {key}
key
- Copyright © 2022. All rights reserved.