Class/Object

com.redis

RedisClient

Related Docs: object RedisClient | package redis

Permalink

class RedisClient extends RedisCommand with PubSub

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisClient
  2. PubSub
  3. RedisCommand
  4. AutoCloseable
  5. HyperLogLogOperations
  6. HyperLogLogApi
  7. PubOperations
  8. EvalOperations
  9. EvalApi
  10. HashOperations
  11. HashApi
  12. SortedSetOperations
  13. SortedSetApi
  14. SetOperations
  15. SetApi
  16. ListOperations
  17. ListApi
  18. StringOperations
  19. StringApi
  20. NodeOperations
  21. NodeApi
  22. GeoOperations
  23. GeoApi
  24. BaseOperations
  25. BaseApi
  26. Redis
  27. Protocol
  28. R
  29. Reply
  30. IO
  31. Log
  32. AnyRef
  33. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedisClient(connectionUri: URI)

    Permalink
  2. new RedisClient()

    Permalink
  3. new RedisClient(host: String, port: Int, database: Int = 0, secret: Option[Any] = None, timeout: Int = 0, sslContext: Option[SSLContext] = None)

    Permalink

Type Members

  1. class Consumer extends Runnable

    Permalink
    Definition Classes
    PubSub
  2. type FoldReply = PartialFunction[(Char, Array[Byte], Option[GeoRadiusMember]), Option[GeoRadiusMember]]

    Permalink

    The following partial functions intend to manage the response from the GEORADIUS and GEORADIUSBYMEMBER commands.

    The following partial functions intend to manage the response from the GEORADIUS and GEORADIUSBYMEMBER commands. The code is not as generic as the previous ones as the exposed types are quite complex and really specific to these two commands

    Definition Classes
    Reply
  3. type MultiNestedReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[List[Option[Array[Byte]]]]]]]

    Permalink
    Definition Classes
    Reply
  4. type MultiReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[Array[Byte]]]]]

    Permalink
    Definition Classes
    Reply
  5. type PairReply = PartialFunction[(Char, Array[Byte]), Option[(Option[Array[Byte]], Option[List[Option[Array[Byte]]]])]]

    Permalink
    Definition Classes
    Reply
  6. class PipelineClient extends RedisCommand with PubOperations

    Permalink
  7. type Reply[T] = PartialFunction[(Char, Array[Byte]), T]

    Permalink
    Definition Classes
    Reply
  8. type SingleReply = PartialFunction[(Char, Array[Byte]), Option[Array[Byte]]]

    Permalink
    Definition Classes
    Reply

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. def append(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    appends the key value with the specified value.

    appends the key value with the specified value.

    Definition Classes
    StringOperationsStringApi
  5. def asAny: Option[Any]

    Permalink
    Definition Classes
    R
  6. def asBoolean: Boolean

    Permalink
    Definition Classes
    R
  7. def asBulk[T](implicit parse: Parse[T]): Option[T]

    Permalink
    Definition Classes
    R
  8. def asBulkWithTime[T](implicit parse: Parse[T]): Option[T]

    Permalink
    Definition Classes
    R
  9. def asExec(handlers: Seq[() ⇒ Any]): Option[List[Any]]

    Permalink
    Definition Classes
    R
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def asInt: Option[Int]

    Permalink
    Definition Classes
    R
  12. def asList[T](implicit parse: Parse[T]): Option[List[Option[T]]]

    Permalink
    Definition Classes
    R
  13. def asListPairs[A, B](implicit parseA: Parse[A], parseB: Parse[B]): Option[List[Option[(A, B)]]]

    Permalink
    Definition Classes
    R
  14. def asLong: Option[Long]

    Permalink
    Definition Classes
    R
  15. def asPair[T](implicit parse: Parse[T]): Option[(Option[Int], Option[List[Option[T]]])]

    Permalink
    Definition Classes
    R
  16. def asQueuedList: Option[List[Option[String]]]

    Permalink
    Definition Classes
    R
  17. def asSet[T](implicit arg0: Parse[T]): Option[Set[Option[T]]]

    Permalink
    Definition Classes
    R
  18. def asString: Option[String]

    Permalink
    Definition Classes
    R
  19. def auth(secret: Any)(implicit format: Format): Boolean

    Permalink

    auths with the server.

    auths with the server.

    Definition Classes
    BaseOperationsBaseApi
  20. def bgrewriteaof: Boolean

    Permalink
    Definition Classes
    NodeOperationsNodeApi
  21. def bgsave: Boolean

    Permalink

    save the DB in the background.

    save the DB in the background.

    Definition Classes
    NodeOperationsNodeApi
  22. def bitcount(key: Any, range: Option[(Int, Int)] = None)(implicit format: Format): Option[Int]

    Permalink

    Count the number of set bits in the given key within the optional range

    Count the number of set bits in the given key within the optional range

    Definition Classes
    StringOperationsStringApi
  23. def bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): Option[Int]

    Permalink

    Perform a bitwise operation between multiple keys (containing string values) and store the result in the destination key.

    Perform a bitwise operation between multiple keys (containing string values) and store the result in the destination key.

    Definition Classes
    StringOperationsStringApi
  24. def blpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
    Definition Classes
    ListOperationsListApi
  25. def brpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]

    Permalink
    Definition Classes
    ListOperationsListApi
  26. def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    ListOperationsListApi
  27. def bulkRead(s: Array[Byte]): Option[Array[Byte]]

    Permalink
    Definition Classes
    Reply
  28. val bulkReply: SingleReply

    Permalink
    Definition Classes
    Reply
  29. def clearFd(): Unit

    Permalink
    Definition Classes
    IO
  30. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def close(): Unit

    Permalink
    Definition Classes
    RedisClient → AutoCloseable
  32. def cmd(args: Seq[Array[Byte]]): Array[Byte]

    Permalink
    Definition Classes
    Redis
  33. def connect: Boolean

    Permalink
    Definition Classes
    IO
  34. def connected: Boolean

    Permalink
    Definition Classes
    IO
  35. val database: Int

    Permalink
    Definition Classes
    RedisClientRedisCommand
  36. var db: Int

    Permalink
    Definition Classes
    IO
  37. def dbsize: Option[Long]

    Permalink

    returns the size of the db.

    returns the size of the db.

    Definition Classes
    BaseOperationsBaseApi
  38. def debug(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  39. def debug(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  40. def decr(key: Any)(implicit format: Format): Option[Long]

    Permalink

    decrements the specified key by 1

    decrements the specified key by 1

    Definition Classes
    StringOperationsStringApi
  41. def decrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink

    decrements the specified key by increment

    decrements the specified key by increment

    Definition Classes
    StringOperationsStringApi
  42. def del(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  43. def disconnect: Boolean

    Permalink
    Definition Classes
    IO
  44. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  46. val errReply: Reply[Nothing]

    Permalink
    Definition Classes
    Reply
  47. def error(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  48. def error(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  49. def evalBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  50. def evalInt(luaCode: String, keys: List[Any], args: List[Any]): Option[Int]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  51. def evalMultiBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    evaluates lua code on the server.

    evaluates lua code on the server.

    Definition Classes
    EvalOperationsEvalApi
  52. def evalMultiSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  53. def evalSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  54. def evalSHABulk[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  55. def execReply(handlers: Seq[() ⇒ Any]): PartialFunction[(Char, Array[Byte]), Option[List[Any]]]

    Permalink
    Definition Classes
    Reply
  56. def exists(key: Any)(implicit format: Format): Boolean

    Permalink

    test if the specified key exists.

    test if the specified key exists.

    Definition Classes
    BaseOperationsBaseApi
  57. def expire(key: Any, ttl: Int)(implicit format: Format): Boolean

    Permalink

    sets the expire time (in sec.) for the specified key.

    sets the expire time (in sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  58. def expireat(key: Any, timestamp: Long)(implicit format: Format): Boolean

    Permalink

    sets the expire time for the specified key.

    sets the expire time for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  59. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  60. def flattenPairs(in: Iterable[Product2[Any, Any]]): List[Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Redis
  61. def flushall: Boolean

    Permalink

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  62. def flushdb: Boolean

    Permalink

    removes all the DB data.

    removes all the DB data.

    Definition Classes
    BaseOperationsBaseApi
  63. val geoRadiusMemberReply: Reply[Option[List[Option[GeoRadiusMember]]]]

    Permalink

    Entry point for GEORADIUS result analysis.

    Entry point for GEORADIUS result analysis. The analysis is done in three steps.

    First step : we are expecting a MULTI structure and will iterate trivially on it.

    Definition Classes
    Reply
  64. def geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): Option[Int]

    Permalink

    Add the given members in the key geo sorted set

    Add the given members in the key geo sorted set

    key

    The geo sorted set

    members

    The members to be added. Format is (longitude, latitude, member)

    returns

    The number of elements added to the index. Repeated elements are not added.

    Definition Classes
    GeoOperationsGeoApi
  65. def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]

    Permalink
    Definition Classes
    GeoOperationsGeoApi
  66. def geohash[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    Get the geohash for each member in the key geo index.

    Get the geohash for each member in the key geo index.

    returns

    The geohash of each queried member.

    Definition Classes
    GeoOperationsGeoApi
  67. def geopos[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[List[Option[A]]]]]

    Permalink

    Retrieve the position of the members in the key geo sorted set.

    Retrieve the position of the members in the key geo sorted set. Note that if a member is not part of the set, None will be returned for this element.

    returns

    the coordinates of the input members in the same order.

    Definition Classes
    GeoOperationsGeoApi
  68. def georadius(key: Any, longitude: Any, latitude: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any]): Option[List[Option[GeoRadiusMember]]]

    Permalink

    Search for members around an origin point in the key geo sorted set

    Search for members around an origin point in the key geo sorted set

    key

    The geo index we are searching in

    longitude

    The base longitude for distance computation

    latitude

    The base latitude for distance computation

    radius

    The radius of the circle we want to search in

    unit

    The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)

    withCoord

    If true, the coordinate of the found members will be returned in the result

    withDist

    If true, the distance between the origin and the found members will be returned in the result

    withHash

    If true, the hash of the found members will be returned in the result

    count

    Max number of expected results

    sort

    The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

    Definition Classes
    GeoOperationsGeoApi
  69. def georadiusbymember[A](key: Any, member: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[GeoRadiusMember]]]

    Permalink

    Search for members around a specific memberin the key geo sorted set

    Search for members around a specific memberin the key geo sorted set

    key

    The geo index we are searching in

    member

    The member we are searching around

    radius

    The radius of the circle we want to search in

    unit

    The unit of the radius. Can be m (meters), km (kilometers), mi (miles), ft (feet)

    withCoord

    If true, the coordinate of the found members will be returned in the result

    withDist

    If true, the distance between the origin and the found members will be returned in the result

    withHash

    If true, the hash of the found members will be returned in the result

    count

    Max number of expected results

    sort

    The sorting strategy. If empty, order is not guaranteed. Can be ASC (ascending) or DESC (descending)

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

    Definition Classes
    GeoOperationsGeoApi
  70. def get[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    gets the value for the specified key.

    gets the value for the specified key.

    Definition Classes
    StringOperationsStringApi
  71. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  72. def getConfig(key: Any = "*")(implicit format: Format): Option[Map[String, Option[String]]]

    Permalink

    CONFIG GET

    CONFIG GET

    Definition Classes
    BaseOperationsBaseApi
  73. def getType(key: Any)(implicit format: Format): Option[String]

    Permalink

    returns the type of the value stored at key in form of a string.

    returns the type of the value stored at key in form of a string.

    Definition Classes
    BaseOperationsBaseApi
  74. def getbit(key: Any, offset: Int)(implicit format: Format): Option[Int]

    Permalink

    Returns the bit value at offset in the string value stored at key

    Returns the bit value at offset in the string value stored at key

    Definition Classes
    StringOperationsStringApi
  75. def getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).

    Returns the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).

    Definition Classes
    StringOperationsStringApi
  76. def getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    is an atomic set this value and return the old value command.

    is an atomic set this value and return the old value command.

    Definition Classes
    StringOperationsStringApi
  77. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  78. def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    HashOperationsHashApi
  79. def hexists(key: Any, field: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    HashOperationsHashApi
  80. def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    HashOperationsHashApi
  81. def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    HashOperationsHashApi
  82. def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    HashOperationsHashApi
  83. def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    HashOperationsHashApi
  84. def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    HashOperationsHashApi
  85. def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    HashOperationsHashApi
  86. def hlen(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    HashOperationsHashApi
  87. def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): Option[Map[K, V]]

    Permalink
    Definition Classes
    HashOperationsHashApi
  88. def hmset(key: Any, map: Iterable[Product2[Any, Any]])(implicit format: Format): Boolean

    Permalink

    Sets the specified fields to their respective values in the hash stored at key.

    Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.

    map

    from fields to values

    returns

    True if operation completed successfully, False otherwise.

    Definition Classes
    HashOperationsHashApi
    See also

    HMSET documentation

  89. val host: String

    Permalink
    Definition Classes
    RedisClientIO
  90. def hscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink

    Incrementally iterate hash fields and associated values (since 2.8)

    Incrementally iterate hash fields and associated values (since 2.8)

    Definition Classes
    HashOperationsHashApi
  91. def hset1(key: Any, field: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    Sets field in the hash stored at key to value.

    Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

    returns

    Some(0) if field is a new field in the hash and value was set, Some(1) if field already exists in the hash and the value was updated.

    Definition Classes
    HashOperationsHashApi
    See also

    HSET documentation

  92. def hsetnx(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    Sets field in the hash stored at key to value, only if field does not yet exist.

    Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist, a new key holding a hash is created. If field already exists, this operation has no effect.

    returns

    True if field is a new field in the hash and value was set. False if field exists in the hash and no operation was performed.

    Definition Classes
    HashOperationsHashApi
    See also

    HSETNX documentation

  93. def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    HashOperationsHashApi
  94. def ifDebug(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  95. def ifError(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  96. def ifInfo(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  97. def ifTrace(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  98. def ifWarn(message: ⇒ String): Unit

    Permalink
    Definition Classes
    Log
  99. var in: InputStream

    Permalink
    Definition Classes
    IO
  100. def incr(key: Any)(implicit format: Format): Option[Long]

    Permalink

    increments the specified key by 1

    increments the specified key by 1

    Definition Classes
    StringOperationsStringApi
  101. def incrby(key: Any, increment: Long)(implicit format: Format): Option[Long]

    Permalink

    increments the specified key by increment

    increments the specified key by increment

    Definition Classes
    StringOperationsStringApi
  102. def incrbyfloat(key: Any, increment: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    StringOperationsStringApi
  103. def info: Option[String]

    Permalink

    The info command returns different information and statistics about the server.

    The info command returns different information and statistics about the server.

    Definition Classes
    NodeOperationsNodeApi
  104. def info(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  105. def info(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  106. val integerReply: Reply[Option[Int]]

    Permalink
    Definition Classes
    Reply
  107. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  108. def keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    returns all the keys matching the glob-style pattern.

    returns all the keys matching the glob-style pattern.

    Definition Classes
    BaseOperationsBaseApi
  109. def lastsave: Option[Long]

    Permalink

    return the UNIX TIME of the last DB SAVE executed with success.

    return the UNIX TIME of the last DB SAVE executed with success.

    Definition Classes
    NodeOperationsNodeApi
  110. def lindex[A](key: Any, index: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    return the especified element of the list stored at the specified key.

    return the especified element of the list stored at the specified key. Negative indexes are supported, for example -1 is the last element, -2 the penultimate and so on.

    Definition Classes
    ListOperationsListApi
  111. def llen(key: Any)(implicit format: Format): Option[Long]

    Permalink

    return the length of the list stored at the specified key.

    return the length of the list stored at the specified key. If the key does not exist zero is returned (the same behaviour as for empty lists). If the value stored at key is not a list an error is returned.

    Definition Classes
    ListOperationsListApi
  112. val longReply: Reply[Option[Long]]

    Permalink
    Definition Classes
    Reply
  113. def lpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

    Definition Classes
    ListOperationsListApi
  114. def lpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    add values to the head of the list stored at key (Variadic: >= 2.4)

    add values to the head of the list stored at key (Variadic: >= 2.4)

    Definition Classes
    ListOperationsListApi
  115. def lpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    add value to the head of the list stored at key (Variadic: >= 2.4)

    add value to the head of the list stored at key (Variadic: >= 2.4)

    Definition Classes
    ListOperationsListApi
  116. def lrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    return the specified elements of the list stored at the specified key.

    return the specified elements of the list stored at the specified key. Start and end are zero-based indexes.

    Definition Classes
    ListOperationsListApi
  117. def lrem(key: Any, count: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink

    Remove the first count occurrences of the value element from the list.

    Remove the first count occurrences of the value element from the list.

    Definition Classes
    ListOperationsListApi
  118. def lset(key: Any, index: Int, value: Any)(implicit format: Format): Boolean

    Permalink

    set the list element at index with the new value.

    set the list element at index with the new value. Out of range indexes will generate an error

    Definition Classes
    ListOperationsListApi
  119. def ltrim(key: Any, start: Int, end: Int)(implicit format: Format): Boolean

    Permalink

    Trim an existing list so that it will contain only the specified range of elements specified.

    Trim an existing list so that it will contain only the specified range of elements specified.

    Definition Classes
    ListOperationsListApi
  120. def mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    get the values of all the specified keys.

    get the values of all the specified keys.

    Definition Classes
    StringOperationsStringApi
  121. def monitor: Boolean

    Permalink

    is a debugging command that outputs the whole sequence of commands received by the Redis server.

    is a debugging command that outputs the whole sequence of commands received by the Redis server.

    Definition Classes
    NodeOperationsNodeApi
  122. def move(key: Any, db: Int)(implicit format: Format): Boolean

    Permalink

    Move the specified key from the currently selected DB to the specified destination DB.

    Move the specified key from the currently selected DB to the specified destination DB.

    Definition Classes
    BaseOperationsBaseApi
  123. def mset(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink

    set the respective key value pairs.

    set the respective key value pairs. Overwrite value if key exists

    Definition Classes
    StringOperationsStringApi
  124. def msetnx(kvs: (Any, Any)*)(implicit format: Format): Boolean

    Permalink

    set the respective key value pairs.

    set the respective key value pairs. Noop if any key exists

    Definition Classes
    StringOperationsStringApi
  125. val multiBulkNested: MultiNestedReply

    Permalink
    Definition Classes
    Reply
  126. val multiBulkReply: MultiReply

    Permalink
    Definition Classes
    Reply
  127. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  130. def onConnect(): Unit

    Permalink
    Definition Classes
    RedisCommandIO
  131. var out: OutputStream

    Permalink
    Definition Classes
    IO
  132. def pSubscribe(channel: String, channels: String*)(fn: (PubSubMessage) ⇒ Any): Unit

    Permalink
    Definition Classes
    PubSub
  133. def pSubscribeRaw(channel: String, channels: String*): Unit

    Permalink
    Definition Classes
    PubSub
  134. def pUnsubscribe(channel: String, channels: String*): Unit

    Permalink
    Definition Classes
    PubSub
  135. def pUnsubscribe(): Unit

    Permalink
    Definition Classes
    PubSub
  136. val pairBulkReply: PairReply

    Permalink
    Definition Classes
    Reply
  137. def persist(key: Any)(implicit format: Format): Boolean

    Permalink

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Remove the existing timeout on key, turning the key from volatile (a key with an expire set) to persistent (a key that will never expire as no timeout is associated).

    Definition Classes
    BaseOperationsBaseApi
  138. def pexpire(key: Any, ttlInMillis: Int)(implicit format: Format): Boolean

    Permalink

    sets the expire time (in milli sec.) for the specified key.

    sets the expire time (in milli sec.) for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  139. def pexpireat(key: Any, timestampInMillis: Long)(implicit format: Format): Boolean

    Permalink

    sets the expire timestamp in millis for the specified key.

    sets the expire timestamp in millis for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  140. def pfadd(key: Any, value: Any, values: Any*): Option[Long]

    Permalink

    Add a value to the hyperloglog (>= 2.8.9)

    Add a value to the hyperloglog (>= 2.8.9)

    Definition Classes
    HyperLogLogOperationsHyperLogLogApi
  141. def pfcount(keys: Any*): Option[Long]

    Permalink

    Get the estimated cardinality from one or more keys (>= 2.8.9)

    Get the estimated cardinality from one or more keys (>= 2.8.9)

    Definition Classes
    HyperLogLogOperationsHyperLogLogApi
  142. def pfmerge(destination: Any, sources: Any*): Boolean

    Permalink

    Merge existing keys (>= 2.8.9)

    Merge existing keys (>= 2.8.9)

    Definition Classes
    HyperLogLogOperationsHyperLogLogApi
  143. def ping: Option[String]

    Permalink

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  144. def pipeline(f: (PipelineClient) ⇒ Any): Option[List[Any]]

    Permalink
  145. def pipelineNoMulti(commands: Seq[() ⇒ Any]): List[Promise[Any]]

    Permalink

    Redis pipelining API without the transaction semantics.

    Redis pipelining API without the transaction semantics. The implementation has a non-blocking semantics and returns a List of Promise. The caller may use Future.firstCompletedOf to get the first completed task before all tasks have been completed. If an exception is raised in executing any of the commands, then the corresponding Promise holds the exception. Here's a sample usage:

    val x =
     r.pipelineNoMulti(
       List(
         {() => r.set("key", "debasish")},
         {() => r.get("key")},
         {() => r.get("key1")},
         {() => r.lpush("list", "maulindu")},
         {() => r.lpush("key", "maulindu")}     // should raise an exception
       )
     )
    

    This queues up all commands and does pipelining. The returned r is a List of Promise. The client may want to wait for all to complete using:

    val result = x.map{a => Await.result(a.future, timeout)}
    

    Or the client may wish to track and get the promises as soon as the underlying Future is completed.

  146. val pong: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseApi
  147. val port: Int

    Permalink
    Definition Classes
    RedisClientIO
  148. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  149. def pttl(key: Any)(implicit format: Format): Option[Long]

    Permalink

    returns the remaining time to live of a key that has a timeout in millis

    returns the remaining time to live of a key that has a timeout in millis

    Definition Classes
    BaseOperationsBaseApi
  150. var pubSub: Boolean

    Permalink
    Definition Classes
    PubSub
  151. def publish(channel: String, msg: String): Option[Long]

    Permalink
    Definition Classes
    PubOperations
  152. def queuedReplyInt: Reply[Option[Int]]

    Permalink
    Definition Classes
    Reply
  153. def queuedReplyList: MultiReply

    Permalink
    Definition Classes
    Reply
  154. def queuedReplyLong: Reply[Option[Long]]

    Permalink
    Definition Classes
    Reply
  155. def quit: Boolean

    Permalink

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  156. def randomkey[A](implicit parse: Parse[A]): Option[A]

    Permalink

    returns a randomly selected key from the currently selected DB.

    returns a randomly selected key from the currently selected DB.

    Definition Classes
    BaseOperationsBaseApi
  157. def readCounted(count: Int): Array[Byte]

    Permalink
    Definition Classes
    IO
  158. def readLine: Array[Byte]

    Permalink
    Definition Classes
    IO
  159. def receive[T](pf: Reply[T]): T

    Permalink
    Definition Classes
    Reply
  160. def rename(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink

    atomically renames the key oldkey to newkey.

    atomically renames the key oldkey to newkey.

    Definition Classes
    BaseOperationsBaseApi
  161. def renamenx(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    Permalink

    rename oldkey into newkey but fails if the destination key newkey already exists.

    rename oldkey into newkey but fails if the destination key newkey already exists.

    Definition Classes
    BaseOperationsBaseApi
  162. def rpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

    atomically return and remove the first (LPOP) or last (RPOP) element of the list

    Definition Classes
    ListOperationsListApi
  163. def rpoplpush[A](srcKey: Any, dstKey: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Remove the first count occurrences of the value element from the list.

    Remove the first count occurrences of the value element from the list.

    Definition Classes
    ListOperationsListApi
  164. def rpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    add values to the tail of the list stored at key (Variadic: >= 2.4)

    add values to the tail of the list stored at key (Variadic: >= 2.4)

    Definition Classes
    ListOperationsListApi
  165. def rpushx(key: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    add value to the tail of the list stored at key (Variadic: >= 2.4)

    add value to the tail of the list stored at key (Variadic: >= 2.4)

    Definition Classes
    ListOperationsListApi
  166. def sadd(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    Add the specified members to the set value stored at key.

    Add the specified members to the set value stored at key. (VARIADIC: >= 2.4)

    Definition Classes
    SetOperationsSetApi
  167. def save: Boolean

    Permalink

    save the DB on disk now.

    save the DB on disk now.

    Definition Classes
    NodeOperationsNodeApi
  168. def scan[A](cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink

    Incrementally iterate the keys space (since 2.8)

    Incrementally iterate the keys space (since 2.8)

    Definition Classes
    BaseOperationsBaseApi
  169. def scard(key: Any)(implicit format: Format): Option[Long]

    Permalink

    Return the number of elements (the cardinality) of the Set at key.

    Return the number of elements (the cardinality) of the Set at key.

    Definition Classes
    SetOperationsSetApi
  170. def scriptExists(shahash: String): Option[Int]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  171. def scriptFlush: Option[String]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  172. def scriptLoad(luaCode: String): Option[String]

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  173. def sdiff[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink

    Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.

    Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.

    Definition Classes
    SetOperationsSetApi
  174. def sdiffstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.

    Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.

    Definition Classes
    SetOperationsSetApi
  175. val secret: Option[Any]

    Permalink
    Definition Classes
    RedisClientRedisCommand
  176. def select(index: Int): Boolean

    Permalink

    selects the DB to connect, defaults to 0 (zero).

    selects the DB to connect, defaults to 0 (zero).

    Definition Classes
    BaseOperationsBaseApi
  177. def send[A](command: String)(result: ⇒ A): A

    Permalink
    Definition Classes
    Redis
  178. def send[A](command: String, args: Seq[Any])(result: ⇒ A)(implicit format: Format): A

    Permalink
    Definition Classes
    Redis
  179. def set(key: Any, value: Any, whenSet: SetBehaviour = Always, expire: Duration = null)(implicit format: Format): Boolean

    Permalink

    sets the key with the specified value.

    sets the key with the specified value. Starting with Redis 2.6.12 SET supports a set of options that modify its behavior:

    NX -- Only set the key if it does not already exist. XX -- Only set the key if it already exist. PX milliseconds -- Set the specified expire time, in milliseconds.

    Definition Classes
    StringOperationsStringApi
  180. def setConfig(key: Any, value: Any)(implicit format: Format): Option[String]

    Permalink

    CONFIG SET

    CONFIG SET

    Definition Classes
    BaseOperationsBaseApi
  181. def setbit(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Int]

    Permalink

    Sets or clears the bit at offset in the string value stored at key

    Sets or clears the bit at offset in the string value stored at key

    Definition Classes
    StringOperationsStringApi
  182. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  183. def setnx(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    sets the value for the specified key, only if the key is not there.

    sets the value for the specified key, only if the key is not there.

    Definition Classes
    StringOperationsStringApi
  184. def setrange(key: Any, offset: Int, value: Any)(implicit format: Format): Option[Long]

    Permalink

    SETRANGE key offset value Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.

    SETRANGE key offset value Overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.

    Definition Classes
    StringOperationsStringApi
  185. def shutdown: Boolean

    Permalink

    Stop all the clients, save the DB, then quit the server.

    Stop all the clients, save the DB, then quit the server.

    Definition Classes
    NodeOperationsNodeApi
  186. val singleLineReply: SingleReply

    Permalink
    Definition Classes
    Reply
  187. def sinter[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink

    Return the intersection between the Sets stored at key1, key2, ..., keyN.

    Return the intersection between the Sets stored at key1, key2, ..., keyN.

    Definition Classes
    SetOperationsSetApi
  188. def sinterstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

    Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey. SINTERSTORE returns the size of the intersection, unlike what the documentation says refer http://code.google.com/p/redis/issues/detail?id=121

    Definition Classes
    SetOperationsSetApi
  189. def sismember(key: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    Test if the specified value is a member of the Set at key.

    Test if the specified value is a member of the Set at key.

    Definition Classes
    SetOperationsSetApi
  190. def slaveof(options: Any): Boolean

    Permalink

    The SLAVEOF command can change the replication settings of a slave on the fly.

    The SLAVEOF command can change the replication settings of a slave on the fly.

    Definition Classes
    NodeOperationsNodeApi
  191. def smembers[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink

    Return all the members of the Set value at key.

    Return all the members of the Set value at key.

    Definition Classes
    SetOperationsSetApi
  192. def smove(sourceKey: Any, destKey: Any, value: Any)(implicit format: Format): Option[Long]

    Permalink

    Move the specified member from one Set to another atomically.

    Move the specified member from one Set to another atomically.

    Definition Classes
    SetOperationsSetApi
  193. var socket: Socket

    Permalink
    Definition Classes
    IO
  194. def sort[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    sort keys in a set, and optionally pull values for them

    sort keys in a set, and optionally pull values for them

    Definition Classes
    BaseOperationsBaseApi
  195. def sortNStore[A](key: String, limit: Option[(Int, Int)] = None, desc: Boolean = false, alpha: Boolean = false, by: Option[String] = None, get: List[String] = Nil, storeAt: String)(implicit format: Format, parse: Parse[A]): Option[Long]

    Permalink

    sort keys in a set, and stores result in the supplied key

    sort keys in a set, and stores result in the supplied key

    Definition Classes
    BaseOperationsBaseApi
  196. def spop[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink

    Remove and return multiple random elements (pop) from the Set value at key since (3.2).

    Remove and return multiple random elements (pop) from the Set value at key since (3.2).

    Definition Classes
    SetOperationsSetApi
  197. def spop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Remove and return (pop) a random element from the Set value at key.

    Remove and return (pop) a random element from the Set value at key.

    Definition Classes
    SetOperationsSetApi
  198. def srandmember[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    Return multiple random elements from a Set (since 2.6)

    Return multiple random elements from a Set (since 2.6)

    Definition Classes
    SetOperationsSetApi
  199. def srandmember[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    Permalink

    Return a random element from a Set

    Return a random element from a Set

    Definition Classes
    SetOperationsSetApi
  200. def srem(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long]

    Permalink

    Remove the specified members from the set value stored at key.

    Remove the specified members from the set value stored at key. (VARIADIC: >= 2.4)

    Definition Classes
    SetOperationsSetApi
  201. def sscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink

    Incrementally iterate Set elements (since 2.8)

    Incrementally iterate Set elements (since 2.8)

    Definition Classes
    SetOperationsSetApi
  202. val sslContext: Option[SSLContext]

    Permalink
    Definition Classes
    RedisClientIO
  203. def strlen(key: Any)(implicit format: Format): Option[Long]

    Permalink

    gets the length of the value associated with the key

    gets the length of the value associated with the key

    Definition Classes
    StringOperationsStringApi
  204. def subscribe(channel: String, channels: String*)(fn: (PubSubMessage) ⇒ Any): Unit

    Permalink
    Definition Classes
    PubSub
  205. def subscribeRaw(channel: String, channels: String*): Unit

    Permalink
    Definition Classes
    PubSub
  206. def sunion[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Permalink

    Return the union between the Sets stored at key1, key2, ..., keyN.

    Return the union between the Sets stored at key1, key2, ..., keyN.

    Definition Classes
    SetOperationsSetApi
  207. def sunionstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.

    Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey. SUNIONSTORE returns the size of the union, unlike what the documentation says refer http://code.google.com/p/redis/issues/detail?id=121

    Definition Classes
    SetOperationsSetApi
  208. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  209. def time[A](implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Permalink

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.

    Definition Classes
    BaseOperationsBaseApi
  210. val timeout: Int

    Permalink
    Definition Classes
    RedisClientIO
  211. def toString(): String

    Permalink
    Definition Classes
    RedisClient → AnyRef → Any
  212. def trace(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  213. def trace(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  214. def ttl(key: Any)(implicit format: Format): Option[Long]

    Permalink

    returns the remaining time to live of a key that has a timeout

    returns the remaining time to live of a key that has a timeout

    Definition Classes
    BaseOperationsBaseApi
  215. def unsubscribe(channel: String, channels: String*): Unit

    Permalink
    Definition Classes
    PubSub
  216. def unsubscribe(): Unit

    Permalink
    Definition Classes
    PubSub
  217. def unwatch(): Boolean

    Permalink

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

    Definition Classes
    BaseOperationsBaseApi
  218. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  221. def warn(message: String, error: Throwable): Unit

    Permalink
    Definition Classes
    Log
  222. def warn(message: String, values: AnyRef*): Unit

    Permalink
    Definition Classes
    Log
  223. def watch(key: Any, keys: Any*)(implicit format: Format): Boolean

    Permalink

    Marks the given keys to be watched for conditional execution of a transaction.

    Marks the given keys to be watched for conditional execution of a transaction.

    Definition Classes
    BaseOperationsBaseApi
  224. def write(data: Array[Byte]): Unit

    Permalink
    Definition Classes
    IO
  225. def write_to_socket(data: Array[Byte])(op: (OutputStream) ⇒ Unit): Unit

    Permalink
    Definition Classes
    IO
  226. def zadd(key: Any, score: Double, member: Any, scoreVals: (Double, Any)*)(implicit format: Format): Option[Long]

    Permalink

    Add the specified members having the specified score to the sorted set stored at key.

    Add the specified members having the specified score to the sorted set stored at key. (Variadic: >= 2.4)

    Definition Classes
    SortedSetOperationsSortedSetApi
  227. def zcard(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  228. def zcount(key: Any, min: Double = Double.NegativeInfinity, max: Double = Double.PositiveInfinity, minInclusive: Boolean = true, maxInclusive: Boolean = true)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  229. def zincrby(key: Any, incr: Double, member: Any)(implicit format: Format): Option[Double]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  230. def zinterstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  231. def zinterstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  232. def zrange[A](key: Any, start: Int = 0, end: Int = 1, sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  233. def zrangeWithScore[A](key: Any, start: Int = 0, end: Int = 1, sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  234. def zrangebylex[A](key: Any, min: String, max: String, limit: Option[(Int, Int)])(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  235. def zrangebyscore[A](key: Any, min: Double = Double.NegativeInfinity, minInclusive: Boolean = true, max: Double = Double.PositiveInfinity, maxInclusive: Boolean = true, limit: Option[(Int, Int)], sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[A]]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  236. def zrangebyscoreWithScore[A](key: Any, min: Double = Double.NegativeInfinity, minInclusive: Boolean = true, max: Double = Double.PositiveInfinity, maxInclusive: Boolean = true, limit: Option[(Int, Int)], sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  237. def zrank(key: Any, member: Any, reverse: Boolean = false)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  238. def zrem(key: Any, member: Any, members: Any*)(implicit format: Format): Option[Long]

    Permalink

    Remove the specified members from the sorted set value stored at key.

    Remove the specified members from the sorted set value stored at key. (Variadic: >= 2.4)

    Definition Classes
    SortedSetOperationsSortedSetApi
  239. def zremrangebyrank(key: Any, start: Int = 0, end: Int = 1)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  240. def zremrangebyscore(key: Any, start: Double = Double.NegativeInfinity, end: Double = Double.PositiveInfinity)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  241. def zscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): Option[(Option[Int], Option[List[Option[A]]])]

    Permalink

    Incrementally iterate sorted sets elements and associated scores (since 2.8)

    Incrementally iterate sorted sets elements and associated scores (since 2.8)

    Definition Classes
    SortedSetOperationsSortedSetApi
  242. def zscore(key: Any, element: Any)(implicit format: Format): Option[Double]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  243. def zunionstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  244. def zunionstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi

Deprecated Value Members

  1. def hset(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    Permalink

    Sets field in the hash stored at key to value.

    Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.

    returns

    True if field is a new field in the hash and value was set, False if field already exists in the hash and the value was updated.

    Definition Classes
    HashOperationsHashApi
    Deprecated

    return value semantics is inconsistent with com.redis.HashOperations#hsetnx and com.redis.HashOperations#hmset. Use com.redis.HashOperations#hset1 instead

    See also

    HSET documentation

  2. def randkey[A](implicit parse: Parse[A]): Option[A]

    Permalink
    Definition Classes
    BaseOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8) use randomkey

  3. def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean

    Permalink
    Definition Classes
    StringApi
    Annotations
    @deprecated
    Deprecated

    (Since version 3.10) Use implementation with scala.concurrent.duration.Duration and SetBehaviour

  4. def slaveOf(options: Any): Boolean

    Permalink
    Definition Classes
    NodeOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) use slaveof

Inherited from PubSub

Inherited from RedisCommand

Inherited from AutoCloseable

Inherited from HyperLogLogOperations

Inherited from HyperLogLogApi

Inherited from PubOperations

Inherited from EvalOperations

Inherited from EvalApi

Inherited from HashOperations

Inherited from HashApi

Inherited from SortedSetOperations

Inherited from SortedSetApi

Inherited from SetOperations

Inherited from SetApi

Inherited from ListOperations

Inherited from ListApi

Inherited from StringOperations

Inherited from StringApi

Inherited from NodeOperations

Inherited from NodeApi

Inherited from GeoOperations

Inherited from GeoApi

Inherited from BaseOperations

Inherited from BaseApi

Inherited from Redis

Inherited from Protocol

Inherited from R

Inherited from redis.Reply

Inherited from IO

Inherited from Log

Inherited from AnyRef

Inherited from Any

Ungrouped