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