当前位置: 首页 > 工具软件 > Zscan > 使用案例 >

Redis命令-有序集合-zscan

薛淳
2023-12-01

 

原文

http://redis.io/commands/zscan

 

简介

Incrementally iterate sorted sets elements and associated scores.

 

增量地迭代有序集合的元素和关联的分数。

 

语法

ZSCAN key cursor [MATCH pattern] [COUNT count]

 

版本

Available since 2.8.0.

 

自2.8.0版本可用。

 

时间复杂度

Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection..

 

描述

See SCAN for ZSCAN documentation.

 

关于ZSCAN请查看SCAN命令。

 

 类似资料: