public interface TopKFilterCommands
| Modifier and Type | Method and Description |
|---|---|
List<String> |
topkAdd(String key,
String... items)
TOPK.ADD {key} {item ...} |
List<String> |
topkIncrBy(String key,
Map<String,Long> itemIncrements)
TOPK.INCRBY {key} {item} {increment} [{item} {increment} ...] |
default String |
topkIncrBy(String key,
String item,
long increment)
TOPK.INCRBY {key} {item} {increment} |
Map<String,Object> |
topkInfo(String key)
TOPK.INFO {key} |
List<String> |
topkList(String key)
TOPK.LIST {key} |
Map<String,Long> |
topkListWithCount(String key)
TOPK.LIST {key} WITHCOUNT |
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 - default String topkIncrBy(String key, String item, long increment)
TOPK.INCRBY {key} {item} {increment}key - item - increment - 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 - List<String> topkList(String key)
TOPK.LIST {key}key - Map<String,Long> topkListWithCount(String key)
TOPK.LIST {key} WITHCOUNTkey - Copyright © 2024. All rights reserved.