(key string, start int, end int)
| 206 | } |
| 207 | |
| 208 | func (z *SortedSet) getZRemRangeByRankNodes(key string, start int, end int) ([]*SkipListNode, error) { |
| 209 | if sortedSet, ok := z.M[key]; ok { |
| 210 | return sortedSet.GetByRankRange(start, end, false), nil |
| 211 | } |
| 212 | |
| 213 | return []*SkipListNode{}, nil |
| 214 | } |
| 215 | |
| 216 | func (z *SortedSet) ZRank(key string, value []byte) (int, error) { |
| 217 | if sortedSet, ok := z.M[key]; ok { |
no test coverage detected