RedisSortedSetsZREVRANGEBYSCORE Method |
返回有序集 key 中, score 值介于 max 和 min 之间(默认包括等于 max 或 min )的所有的成员。有序集成员按 score 值递减(从大到小)的次序排列。
具有相同 score 值的成员按字典序的逆序(reverse lexicographical order )排列。
除了成员按 score 值递减的次序排列这一点外, ZREVRANGEBYSCORE 命令的其他方面和 ZRANGEBYSCORE 命令一样
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public SortedList<double, string> ZREVRANGEBYSCORE(
string key,
double min,
double max,
int offset,
int count
)
Public Function ZREVRANGEBYSCORE (
key As String,
min As Double,
max As Double,
offset As Integer,
count As Integer
) As SortedList(Of Double, String)
public:
SortedList<double, String^>^ ZREVRANGEBYSCORE(
String^ key,
double min,
double max,
int offset,
int count
)
member ZREVRANGEBYSCORE :
key : string *
min : float *
max : float *
offset : int *
count : int -> SortedList<float, string>
Parameters
- key
- Type: SystemString
[Missing <param name="key"/> documentation for "M:Adf.RedisSortedSets.ZREVRANGEBYSCORE(System.String,System.Double,System.Double,System.Int32,System.Int32)"]
- min
- Type: SystemDouble
[Missing <param name="min"/> documentation for "M:Adf.RedisSortedSets.ZREVRANGEBYSCORE(System.String,System.Double,System.Double,System.Int32,System.Int32)"]
- max
- Type: SystemDouble
[Missing <param name="max"/> documentation for "M:Adf.RedisSortedSets.ZREVRANGEBYSCORE(System.String,System.Double,System.Double,System.Int32,System.Int32)"]
- offset
- Type: SystemInt32
取出偏移量,需设置count有效 - count
- Type: SystemInt32
设置数量则offset有产效
Return Value
Type:
SortedListDouble,
String[Missing <returns> documentation for "M:Adf.RedisSortedSets.ZREVRANGEBYSCORE(System.String,System.Double,System.Double,System.Int32,System.Int32)"]
See Also