object RedisSortedSet extends RedisSortedSet
- Alphabetic
- By Inheritance
- RedisSortedSet
- RedisSortedSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bzpopmax[K, V](timeout: Long, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[KeyValue[K, ScoredValue[V]]]
Removes and returns a member with the highest scores in the sorted set stored at one of the keys.
Removes and returns a member with the highest scores in the sorted set stored at one of the keys.
- returns
Multi-bulk containing the name of the key, the score and the popped member.
- Definition Classes
- RedisSortedSet
-
def
bzpopmin[K, V](timeout: Long, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[KeyValue[K, ScoredValue[V]]]
Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.
Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.
- returns
Multi-bulk containing the name of the key, the score and the popped member.
- Definition Classes
- RedisSortedSet
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
zadd[K, V](key: K, scoredValues: ScoredValue[V]*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Add one or more members to a sorted set, or update its score if it already exists.
Add one or more members to a sorted set, or update its score if it already exists.
- returns
Long integer-reply specifically: The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
- Definition Classes
- RedisSortedSet
-
def
zadd[K, V](key: K, score: Double, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Add one or more members to a sorted set, or update its score if it already exists.
Add one or more members to a sorted set, or update its score if it already exists.
- returns
Long integer-reply specifically: The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
- Definition Classes
- RedisSortedSet
-
def
zaddincr[K, V](key: K, score: Double, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]
Add one or more members to a sorted set, or update its score if it already exists applying the INCR option.
Add one or more members to a sorted set, or update its score if it already exists applying the INCR option. ZADD acts like ZINCRBY.
- returns
The total number of elements changed
- Definition Classes
- RedisSortedSet
-
def
zcard[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Get the number of members in a sorted set.
Get the number of members in a sorted set.
- returns
Long integer-reply specifically: The number of elements added to the sorted sets, not including elements already existing for which the score was updated.
- Definition Classes
- RedisSortedSet
-
def
zcount[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Count the members in a sorted set with scores within the given Range.
Count the members in a sorted set with scores within the given Range.
- returns
The number of elements of the sorted set, or false if key does not exist.
- Definition Classes
- RedisSortedSet
-
def
zincrby[K, V](key: K, amount: Double, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]
Increment the score of a member in a sorted set.
Increment the score of a member in a sorted set.
- returns
The new score of member, represented as string.
- Definition Classes
- RedisSortedSet
-
def
zinterstore[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Intersect multiple sorted sets and store the resulting sorted set in a new key.
Intersect multiple sorted sets and store the resulting sorted set in a new key.
- returns
The number of elements in the resulting sorted set at destination.
- Definition Classes
- RedisSortedSet
-
def
zlexcount[K, V](key: K, range: Range[_ <: V])(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Count the number of members in a sorted set between a given lexicographical range.
Count the number of members in a sorted set between a given lexicographical range.
- returns
The number of elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zpopmax[K, V](key: K, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Removes and returns up to count members with the highest scores in the sorted set stored at key.
Removes and returns up to count members with the highest scores in the sorted set stored at key.
- returns
Scored values of popped scores and elements.
- Definition Classes
- RedisSortedSet
-
def
zpopmax[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[ScoredValue[V]]
Removes and returns up to count members with the highest scores in the sorted set stored at key.
Removes and returns up to count members with the highest scores in the sorted set stored at key.
- returns
Scored value of the removed element.
- Definition Classes
- RedisSortedSet
-
def
zpopmin[K, V](key: K, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
- returns
Scored values of the popped scores and elements.
- Definition Classes
- RedisSortedSet
-
def
zpopmin[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[ScoredValue[V]]
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
- returns
Scored value the removed element.
- Definition Classes
- RedisSortedSet
-
def
zrange[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by index.
Return a range of members in a sorted set, by index.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrangeWithScores[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with scores in a sorted set, by index.
Return a range of members with scores in a sorted set, by index.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrangebylex[K, V](key: K, range: Range[_ <: V], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by lexicographical range.
Return a range of members in a sorted set, by lexicographical range.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrangebylex[K, V](key: K, range: Range[_ <: V])(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by lexicographical range.
Return a range of members in a sorted set, by lexicographical range.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrangebyscore[K, V](key: K, range: Range[_ <: Number], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by score.
Return a range of members in a sorted set, by score.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrangebyscore[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by score.
Return a range of members in a sorted set, by score.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrangebyscoreWithScores[K, V](key: K, range: Range[_ <: Number], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with score in a sorted set, by score.
Return a range of members with score in a sorted set, by score.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrangebyscoreWithScores[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with score in a sorted set, by score.
Return a range of members with score in a sorted set, by score.
- returns
Scored values in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrank[K, V](key: K, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Determine the index of a member in a sorted set.
Determine the index of a member in a sorted set.
- returns
The rank of member. If member does not exist in the sorted set or key does not exist.
- Definition Classes
- RedisSortedSet
-
def
zrem[K, V](key: K, members: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Remove one or more members from a sorted set.
Remove one or more members from a sorted set.
- returns
The number of members removed from the sorted set, not including non existing members.
- Definition Classes
- RedisSortedSet
-
def
zremrangebylex[K, V](key: K, range: Range[_ <: V])(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Remove all members in a sorted set between the given lexicographical range.
Remove all members in a sorted set between the given lexicographical range.
- returns
The number of elements removed.
- Definition Classes
- RedisSortedSet
-
def
zremrangebyrank[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Remove all members in a sorted set within the given indexes.
Remove all members in a sorted set within the given indexes.
- returns
The number of elements removed.
- Definition Classes
- RedisSortedSet
-
def
zremrangebyscore[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Remove all members in a sorted set within the given scores.
Remove all members in a sorted set within the given scores.
- returns
The number of elements removed.
- Definition Classes
- RedisSortedSet
-
def
zrevrange[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by index, with scores ordered from high to low.
Return a range of members in a sorted set, by index, with scores ordered from high to low.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangeWithScores[K, V](key: K, start: Long, stop: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
- returns
Elements in the specified range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebylex[K, V](key: K, range: Range[_ <: V], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebylex[K, V](key: K, range: Range[_ <: V])(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebyscore[K, V](key: K, range: Range[_ <: Number], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by score, with scores ordered from high to low.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebyscore[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Observable[V]
Return a range of members in a sorted set, by score, with scores ordered from high to low.
Return a range of members in a sorted set, by score, with scores ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebyscoreWithScores[K, V](key: K, range: Range[_ <: Number], limit: Limit)(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrangebyscoreWithScores[K, V](key: K, range: Range[_ <: Number])(implicit connection: StatefulRedisConnection[K, V]): Observable[ScoredValue[V]]
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
- returns
Elements in the specified score range.
- Definition Classes
- RedisSortedSet
-
def
zrevrank[K, V](key: K, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Determine the index of a member in a sorted set, with scores ordered from high to low.
Determine the index of a member in a sorted set, with scores ordered from high to low.
- returns
The rank of member. If member does not exist in the sorted set or key does not exist.
- Definition Classes
- RedisSortedSet
-
def
zscan[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[ScoredValueScanCursor[V]]
Incrementally iterate sorted sets elements and associated scores.
Incrementally iterate sorted sets elements and associated scores.
- returns
Scan cursor.
- Definition Classes
- RedisSortedSet
-
def
zscore[K, V](key: K, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Double]
Get the score associated with the given member in a sorted set.
Get the score associated with the given member in a sorted set.
- returns
The score of member represented as string.
- Definition Classes
- RedisSortedSet
-
def
zunionstore[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]
Add multiple sorted sets and store the resulting sorted set in a new key.
Add multiple sorted sets and store the resulting sorted set in a new key.
- returns
The number of elements in the resulting sorted set at destination.
- Definition Classes
- RedisSortedSet