【发布时间】:2018-04-11 14:08:46
【问题描述】:
我想根据 zscore 从 Redis 获取值。我的 zscore 值是 long 值,只不过是 long 中的时间戳。所以,现在我正在使用以下方式获取数据:-
client.zrangeWithScore(key, 0, -1)
因此,有了这个我可以获取整个块,但我想在特定的 zscore 条目之后获取。我的分数类似于这种类型的值 - 1523336885423。
请提出具体的功能及其罐子。现在我正在使用 github 的 Scala-redis 库。
【问题讨论】: