Trait

com.twitter.finagle.redis

SortedSets

Related Doc: package redis

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink

    Add a member with score to a sorted set

    Add a member with score to a sorted set

    returns

    Number of elements added to sorted set

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

    Permalink

    Adds member, score pairs to sorted set

    Adds member, score pairs to sorted set

    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.

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

    Permalink

    Returns sorted set cardinality of the sorted set at key

    Returns sorted set cardinality of the sorted set at key

    returns

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

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

    Permalink

    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

    returns

    Number of elements between min and max in sorted set

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

    Permalink

    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.

    returns

    the new value of the incremented member

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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.

    returns

    the rank of the member

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

    Permalink

    Removes specified member(s) from sorted set at key

    Removes specified member(s) from sorted set at key

    returns

    Number of members removed from sorted set

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

    Permalink

    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.

    returns

    Number of members removed from sorted set.

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

    Permalink

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

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

    returns

    Number of members removed from sorted set.

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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.

    returns

    the rank of the member

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

    Permalink

    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