Packages

o

monix.connect.redis

RedisSortedSet

object RedisSortedSet extends RedisSortedSet

Annotations
@deprecated
Deprecated

(Since version 0.6.0) use the pure monix.connect.redis.client.RedisConnection

Source
RedisSortedSet.scala
Linear Supertypes
RedisSortedSet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisSortedSet
  2. RedisSortedSet
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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
  6. 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
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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

Inherited from RedisSortedSet

Inherited from AnyRef

Inherited from Any

Ungrouped