com.twitter.finagle.redis

SortedSets

trait SortedSets extends AnyRef

Self Type
SortedSets with BaseClient
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SortedSets
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  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
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  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( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def zAdd(key: ChannelBuffer, score: Double, member: ChannelBuffer): Future[Long]

    Add a member with score to a sorted set

    Add a member with score to a sorted set

    key
    score
    member
    returns

    Number of elements added to sorted set

  23. def zAddMulti(key: ChannelBuffer, members: Seq[(Double, ChannelBuffer)]): Future[Long]

    Adds member, score pairs to sorted set

    Adds member, score pairs to sorted set

    key
    members

    sequence of (score, member) tuples

    returns

    Number of elements added to sorted set

    Note

    Adding multiple elements only works with redis 2.4 or later.

  24. def zCard(key: ChannelBuffer): Future[Long]

    Returns sorted set cardinality of the sorted set at key

    Returns sorted set cardinality of the sorted set at key

    key
    returns

    Integer representing cardinality of sorted set, or 0 if key does not exist

  25. def zCount(key: ChannelBuffer, min: ZInterval, max: ZInterval): Future[Long]

    Gets number of elements in sorted set with score between min and max

    Gets number of elements in sorted set with score between min and max

    key
    min
    max
    returns

    Number of elements between min and max in sorted set

  26. def zIncrBy(key: ChannelBuffer, amount: Double, member: ChannelBuffer): Future[Option[Double]]

    Increment the member in sorted set key by amount.

    Increment the member in sorted set key by amount. Returns an option, None if the member is not found, or the set is empty, or the new value. Throws an exception if the key refers to a structure that is not a sorted set.

    key
    amount
    member
    returns

    the new value of the incremented member

  27. def zRange(key: ChannelBuffer, start: Long, stop: Long, withScores: Boolean): Future[Either[ZRangeResults, Seq[ChannelBuffer]]]

    Returns specified range of elements in sorted set at key.

    Returns specified range of elements in sorted set at key. Elements are ordered from lowest to highest score.

    returns

    ZRangeResults object containing item/score pairs

  28. def zRangeByScore(key: ChannelBuffer, min: ZInterval, max: ZInterval, withScores: Boolean, limit: Option[Limit]): Future[Either[ZRangeResults, Seq[ChannelBuffer]]]

    Gets member, score pairs from sorted set between min and max Results are limited by offset and count

    Gets member, score pairs from sorted set between min and max Results are limited by offset and count

    returns

    ZRangeResults object containing item/score pairs

  29. def zRank(key: ChannelBuffer, member: ChannelBuffer): Future[Option[Long]]

    Gets the rank of the member in the sorted set, or None if it doesn't exist, from low to high.

    Gets the rank of the member in the sorted set, or None if it doesn't exist, from low to high.

    key
    member
    returns

    the rank of the member

  30. def zRem(key: ChannelBuffer, members: Seq[ChannelBuffer]): Future[Long]

    Removes specified member(s) from sorted set at key

    Removes specified member(s) from sorted set at key

    key
    members
    returns

    Number of members removed from sorted set

  31. def zRemRangeByRank(key: ChannelBuffer, start: Long, stop: Long): Future[Long]

    Removes members from sorted set by sort order, from start to stop, inclusive.

    Removes members from sorted set by sort order, from start to stop, inclusive.

    key
    start
    stop
    returns

    Number of members removed from sorted set.

  32. def zRemRangeByScore(key: ChannelBuffer, min: ZInterval, max: ZInterval): Future[Long]

    Removes members from sorted set by score, from min to max, inclusive.

    Removes members from sorted set by score, from min to max, inclusive.

    key
    min
    max
    returns

    Number of members removed from sorted set.

  33. def zRevRange(key: ChannelBuffer, start: Long, stop: Long, withScores: Boolean): Future[Either[ZRangeResults, Seq[ChannelBuffer]]]

    Returns specified range of elements in sorted set at key Elements are ordered from highest to lowest score

    Returns specified range of elements in sorted set at key Elements are ordered from highest to lowest score

    returns

    List of elements in specified range

  34. def zRevRangeByScore(key: ChannelBuffer, max: ZInterval, min: ZInterval, withScores: Boolean, limit: Option[Limit]): Future[Either[ZRangeResults, Seq[ChannelBuffer]]]

    Returns elements in sorted set at key with a score between max and min Elements are ordered from highest to lowest score Results are limited by offset and count

    Returns elements in sorted set at key with a score between max and min Elements are ordered from highest to lowest score Results are limited by offset and count

    returns

    ZRangeResults object containing item/score pairs

  35. def zRevRank(key: ChannelBuffer, member: ChannelBuffer): Future[Option[Long]]

    Gets the rank of member in the sorted set, or None if it doesn't exist, from high to low.

    Gets the rank of member in the sorted set, or None if it doesn't exist, from high to low.

    key
    member
    returns

    the rank of the member

  36. def zScore(key: ChannelBuffer, member: ChannelBuffer): Future[Option[Double]]

    Gets score of member in sorted set

    Gets score of member in sorted set

    returns

    Score of member

Inherited from AnyRef

Inherited from Any

Ungrouped