class RedisClient extends RedisCommand with PubSub

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. Protected

Instance Constructors

  1. new RedisClient(connectionUri: URI)
  2. new RedisClient()
  3. new RedisClient(host: String, port: Int, database: Int = 0, secret: Option[Any] = None, timeout: Int = 0, sslContext: Option[SSLContext] = None, batch: Mode = RedisClient.SINGLE)

Type Members

  1. class Consumer extends Runnable
    Definition Classes
    PubSub
  2. type FoldReply = PartialFunction[(Char, Array[Byte], Option[GeoRadiusMember]), Option[GeoRadiusMember]]

    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]]]]]]]
    Definition Classes
    Reply
  4. type MultiReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[Array[Byte]]]]]
    Definition Classes
    Reply
  5. type PairReply = PartialFunction[(Char, Array[Byte]), Option[(Option[Array[Byte]], Option[List[Option[Array[Byte]]]])]]
    Definition Classes
    Reply
  6. class PipelineClient extends RedisCommand with PubOperations

    Redis client which sends all messages in the context of a MULTI command, providing transaction semantics.

    Redis client which sends all messages in the context of a MULTI command, providing transaction semantics.

    See also

    https://redis.io/commands/multi

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

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

    appends the key value with the specified value.

    appends the key value with the specified value.

    Definition Classes
    StringOperationsStringApi
  5. def asAny: Option[Any]
    Definition Classes
    R
  6. def asAnyMany(count: Int): List[Option[Any]]
    Definition Classes
    R
  7. def asBoolean: Boolean
    Definition Classes
    R
  8. def asBulk[T](implicit parse: Parse[T]): Option[T]
    Definition Classes
    R
  9. def asBulkWithTime[T](implicit parse: Parse[T]): Option[T]
    Definition Classes
    R
  10. def asExec(handlers: Seq[() => Any]): Option[List[Any]]
    Definition Classes
    R
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asInt: Option[Int]
    Definition Classes
    R
  13. def asList[T](implicit parse: Parse[T]): Option[List[Option[T]]]
    Definition Classes
    R
  14. def asListPairs[A, B](implicit parseA: Parse[A], parseB: Parse[B]): Option[List[Option[(A, B)]]]
    Definition Classes
    R
  15. def asListTrios[A, B](implicit parseA: Parse[A], parseB: Parse[B], format: Format): Option[List[Option[(A, B, Double)]]]
    Definition Classes
    R
  16. def asLong: Option[Long]
    Definition Classes
    R
  17. def asPair[T](implicit parse: Parse[T]): Option[(Option[Int], Option[List[Option[T]]])]
    Definition Classes
    R
  18. def asQueuedList: Option[List[Option[String]]]
    Definition Classes
    R
  19. def asSet[T](implicit arg0: Parse[T]): Option[Set[Option[T]]]
    Definition Classes
    R
  20. def asString: Option[String]
    Definition Classes
    R
  21. def auth(secret: Any)(implicit format: Format): Boolean

    auths with the server.

    auths with the server.

    Definition Classes
    BaseOperationsBaseApi
  22. val batch: Mode
  23. def batchedPipeline(commands: List[() => Any]): Option[List[Any]]

    Executes all the provided commands a single communication, returning a list with all the results.

    Executes all the provided commands a single communication, returning a list with all the results.

    Exceptions thrown

    IllegalStateException if this client was not intialized for batch (pipelined) messaging

    See also

    https://redis.io/topics/pipelining

  24. def bgrewriteaof: Boolean
    Definition Classes
    NodeOperationsNodeApi
  25. def bgsave: Boolean

    save the DB in the background.

    save the DB in the background.

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

    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
  27. def bitop(op: String, destKey: Any, srcKeys: Any*)(implicit format: Format): Option[Int]

    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
  28. def blpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]
    Definition Classes
    ListOperationsListApi
  29. def brpop[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V)]
    Definition Classes
    ListOperationsListApi
  30. def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    ListOperationsListApi
  31. def bulkRead(s: Array[Byte]): Option[Array[Byte]]
    Definition Classes
    Reply
  32. val bulkReply: SingleReply
    Definition Classes
    Reply
  33. def bzpopmax[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V, Double)]
    Definition Classes
    SortedSetOperationsSortedSetApi
  34. def bzpopmin[K, V](timeoutInSeconds: Int, key: K, keys: K*)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[(K, V, Double)]
    Definition Classes
    SortedSetOperationsSortedSetApi
  35. def clearFd(): Unit
    Definition Classes
    IO
  36. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  37. def close(): Unit
    Definition Classes
    RedisClient → AutoCloseable
  38. def cmd(args: Seq[Array[Byte]]): Array[Byte]
    Definition Classes
    Redis
  39. val commandBuffer: ListBuffer[CommandToSend]
    Definition Classes
    Redis
  40. def connect: Boolean
    Definition Classes
    IO
  41. def connected: Boolean
    Definition Classes
    IO
  42. val database: Int
    Definition Classes
    RedisClientRedisCommand
  43. val db: Int
    Definition Classes
    IO
  44. def dbsize: Option[Long]

    returns the size of the db.

    returns the size of the db.

    Definition Classes
    BaseOperationsBaseApi
  45. def debug(message: String, error: Throwable): Unit
    Definition Classes
    Log
  46. def debug(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  47. def decr(key: Any)(implicit format: Format): Option[Long]

    decrements the specified key by 1

    decrements the specified key by 1

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

    decrements the specified key by increment

    decrements the specified key by increment

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

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  50. def disconnect: Boolean
    Definition Classes
    IO
  51. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  53. val errReply: Reply[Nothing]
    Definition Classes
    Reply
  54. def error(message: String, error: Throwable): Unit
    Definition Classes
    Log
  55. def error(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  56. def evalBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  57. def evalInt(luaCode: String, keys: List[Any], args: List[Any]): Option[Int]
    Definition Classes
    EvalOperationsEvalApi
  58. def evalMultiBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    evaluates lua code on the server.

    evaluates lua code on the server.

    Definition Classes
    EvalOperationsEvalApi
  59. def evalMultiSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]
    Definition Classes
    EvalOperationsEvalApi
  60. def evalSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  61. def evalSHABulk[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  62. def execReply(handlers: Seq[() => Any]): PartialFunction[(Char, Array[Byte]), Option[List[Any]]]
    Definition Classes
    Reply
  63. def exists(key: Any)(implicit format: Format): Boolean

    test if the specified key exists.

    test if the specified key exists.

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

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

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

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

    sets the expire time for the specified key.

    sets the expire time for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  66. def flattenPairs(in: Iterable[Product2[Any, Any]]): List[Any]
    Attributes
    protected
    Definition Classes
    Redis
  67. def flushall: Boolean

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  68. def flushdb: Boolean

    removes all the DB data.

    removes all the DB data.

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

    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
  70. def geoadd(key: Any, members: Iterable[Product3[Any, Any, Any]]): Option[Int]

    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
  71. def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]
    Definition Classes
    GeoOperationsGeoApi
  72. def geohash[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    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
  73. def geopos[A](key: Any, members: Iterable[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[List[Option[A]]]]]

    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
  74. 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]]]

    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
  75. 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]]]

    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
  76. def get[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    gets the value for the specified key.

    gets the value for the specified key.

    Definition Classes
    StringOperationsStringApi
  77. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  78. def getConfig(key: Any = "*")(implicit format: Format): Option[Map[String, Option[String]]]

    CONFIG GET

    CONFIG GET

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

    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
  80. def getbit(key: Any, offset: Int)(implicit format: Format): Option[Int]

    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
  81. def getrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[A]

    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
  82. def getset[A](key: Any, value: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    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
  83. var handlers: Vector[(String, () => Any)]
    Definition Classes
    Redis
  84. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  85. def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  86. def hexists(key: Any, field: Any)(implicit format: Format): Boolean
    Definition Classes
    HashOperationsHashApi
  87. def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    HashOperationsHashApi
  88. def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  89. def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  90. def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  91. def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): Option[Float]
    Definition Classes
    HashOperationsHashApi
  92. def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    HashOperationsHashApi
  93. def hlen(key: Any)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  94. def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  95. def hmset(key: Any, map: Iterable[Product2[Any, Any]])(implicit format: Format): Boolean

    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

  96. val host: String
    Definition Classes
    RedisClientIO
  97. 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]]])]

    Incrementally iterate hash fields and associated values (since 2.8)

    Incrementally iterate hash fields and associated values (since 2.8)

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

    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

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

    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

  100. def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    HashOperationsHashApi
  101. def ifDebug(message: => String): Unit
    Definition Classes
    Log
  102. def ifError(message: => String): Unit
    Definition Classes
    Log
  103. def ifInfo(message: => String): Unit
    Definition Classes
    Log
  104. def ifTrace(message: => String): Unit
    Definition Classes
    Log
  105. def ifWarn(message: => String): Unit
    Definition Classes
    Log
  106. val in: InputStream
    Definition Classes
    IO
  107. def incr(key: Any)(implicit format: Format): Option[Long]

    increments the specified key by 1

    increments the specified key by 1

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

    increments the specified key by increment

    increments the specified key by increment

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

    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
  111. def info(message: String, error: Throwable): Unit
    Definition Classes
    Log
  112. def info(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  113. val integerReply: Reply[Option[Int]]
    Definition Classes
    Reply
  114. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  115. def keys[A](pattern: Any = "*")(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    returns all the keys matching the glob-style pattern.

    returns all the keys matching the glob-style pattern.

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

    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
  117. def lindex[A](key: Any, index: Int)(implicit format: Format, parse: Parse[A]): Option[A]

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

    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
  119. val longReply: Reply[Option[Long]]
    Definition Classes
    Reply
  120. def lpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

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

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

    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
  123. def lrange[A](key: Any, start: Int, end: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

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

    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
  125. def lset(key: Any, index: Int, value: Any)(implicit format: Format): Boolean

    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
  126. def ltrim(key: Any, start: Int, end: Int)(implicit format: Format): Boolean

    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
  127. def mget[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    get the values of all the specified keys.

    get the values of all the specified keys.

    Definition Classes
    StringOperationsStringApi
  128. def monitor: Boolean

    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
  129. def move(key: Any, db: Int)(implicit format: Format): Boolean

    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
  130. def mset(kvs: (Any, Any)*)(implicit format: Format): Boolean

    set the respective key value pairs.

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

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

    set the respective key value pairs.

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

    Definition Classes
    StringOperationsStringApi
  132. val multiBulkNested: MultiNestedReply
    Definition Classes
    Reply
  133. val multiBulkReply: MultiReply
    Definition Classes
    Reply
  134. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  135. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  136. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  137. def onConnect(): Unit
    Definition Classes
    RedisCommandIO
  138. val out: OutputStream
    Definition Classes
    IO
  139. def pSubscribe(channel: String, channels: String*)(fn: (PubSubMessage) => Any): Unit
    Definition Classes
    PubSub
  140. def pSubscribeRaw(channel: String, channels: String*): Unit
    Definition Classes
    PubSub
  141. def pUnsubscribe(channel: String, channels: String*): Unit
    Definition Classes
    PubSub
  142. def pUnsubscribe(): Unit
    Definition Classes
    PubSub
  143. val pairBulkReply: PairReply
    Definition Classes
    Reply
  144. def persist(key: Any)(implicit format: Format): Boolean

    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
  145. def pexpire(key: Any, ttlInMillis: Int)(implicit format: Format): Boolean

    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
  146. def pexpireat(key: Any, timestampInMillis: Long)(implicit format: Format): Boolean

    sets the expire timestamp in millis for the specified key.

    sets the expire timestamp in millis for the specified key.

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

    Add a value to the hyperloglog (>= 2.8.9)

    Add a value to the hyperloglog (>= 2.8.9)

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

    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
  149. def pfmerge(destination: Any, sources: Any*): Boolean

    Merge existing keys (>= 2.8.9)

    Merge existing keys (>= 2.8.9)

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

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  151. def pipeline(f: (PipelineClient) => Any): Option[List[Any]]

    Execute operations in the context of a MULTI command.

    Execute operations in the context of a MULTI command. If you want to send the commands in batch mode, use the batchedPipeline method.

    Exceptions thrown

    NullPointerException if code attempts to access the results of any Redis command within the block.

    See also

    https://redis.io/commands/multi

  152. def pipelineNoMulti(commands: Seq[() => Any]): List[Promise[Any]]

    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. However the commands are submitted one by one and NOT in batch. If you want to send the commands in batch mode, use the batchedPipeline method. 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.

    Exceptions thrown

    NullPointerException if code attempts to access the results of any Redis command within the block.

  153. val pong: Option[String]
    Attributes
    protected
    Definition Classes
    BaseApi
  154. val port: Int
    Definition Classes
    RedisClientIO
  155. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean
    Definition Classes
    StringOperationsStringApi
  156. def pttl(key: Any)(implicit format: Format): Option[Long]

    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
  157. val pubSub: Boolean
    Definition Classes
    PubSub
  158. def publish(channel: String, msg: String): Option[Long]
    Definition Classes
    PubOperations
  159. def queuedReplyInt: Reply[Option[Int]]
    Definition Classes
    Reply
  160. def queuedReplyList: MultiReply
    Definition Classes
    Reply
  161. def queuedReplyLong: Reply[Option[Long]]
    Definition Classes
    Reply
  162. def quit: Boolean

    exits the server.

    exits the server.

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

    returns a randomly selected key from the currently selected DB.

    returns a randomly selected key from the currently selected DB.

    Definition Classes
    BaseOperationsBaseApi
  164. def readCounted(count: Int): Array[Byte]
    Definition Classes
    IO
  165. def readLine: Array[Byte]
    Definition Classes
    IO
  166. def receive[T](pf: Reply[T]): T
    Definition Classes
    Reply
  167. def rename(oldkey: Any, newkey: Any)(implicit format: Format): Boolean

    atomically renames the key oldkey to newkey.

    atomically renames the key oldkey to newkey.

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

    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
  169. def rpop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    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
  170. def rpoplpush[A](srcKey: Any, dstKey: Any)(implicit format: Format, parse: Parse[A]): Option[A]

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

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

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

    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
  174. def save: Boolean

    save the DB on disk now.

    save the DB on disk now.

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

    Incrementally iterate the keys space (since 2.8)

    Incrementally iterate the keys space (since 2.8)

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

    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
  177. def scriptExists(shahash: String): Option[Int]
    Definition Classes
    EvalOperationsEvalApi
  178. def scriptFlush: Option[String]
    Definition Classes
    EvalOperationsEvalApi
  179. def scriptLoad(luaCode: String): Option[String]
    Definition Classes
    EvalOperationsEvalApi
  180. def sdiff[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    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
  181. def sdiffstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    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
  182. val secret: Option[Any]
    Definition Classes
    RedisClientRedisCommand
  183. def select(index: Int): Boolean

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

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

    Definition Classes
    BaseOperationsBaseApi
  184. def send[A](commands: List[CommandToSend])(result: => A): A
    Definition Classes
    Redis
  185. def send[A](command: String)(result: => A): A
    Definition Classes
    Redis
  186. def send[A](command: String, args: Seq[Any])(result: => A)(implicit format: Format): A
    Definition Classes
    Redis
  187. def set(key: Any, value: Any, whenSet: SetBehaviour = Always, expire: Duration = null)(implicit format: Format): Boolean

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

    CONFIG SET

    CONFIG SET

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

    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
  190. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean
    Definition Classes
    StringOperationsStringApi
  191. def setnx(key: Any, value: Any)(implicit format: Format): Boolean

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

    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
  193. def shutdown: Boolean

    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
  194. val singleLineReply: SingleReply
    Definition Classes
    Reply
  195. def sinter[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    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
  196. def sinterstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    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
  197. def sismember(key: Any, value: Any)(implicit format: Format): Boolean

    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
  198. def slaveof(options: Any): Boolean

    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
  199. def smembers[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    Return all the members of the Set value at key.

    Return all the members of the Set value at key.

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

    Move the specified member from one Set to another atomically.

    Move the specified member from one Set to another atomically.

    Definition Classes
    SetOperationsSetApi
  201. val socket: Socket
    Definition Classes
    IO
  202. 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]]]

    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
  203. 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]

    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
  204. def spop[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    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
  205. def spop[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[A]

    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
  206. def srandmember[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    Return multiple random elements from a Set (since 2.6)

    Return multiple random elements from a Set (since 2.6)

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

    Return a random element from a Set

    Return a random element from a Set

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

    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
  209. 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]]])]

    Incrementally iterate Set elements (since 2.8)

    Incrementally iterate Set elements (since 2.8)

    Definition Classes
    SetOperationsSetApi
  210. val sslContext: Option[SSLContext]
    Definition Classes
    RedisClientIO
  211. def strlen(key: Any)(implicit format: Format): Option[Long]

    gets the length of the value associated with the key

    gets the length of the value associated with the key

    Definition Classes
    StringOperationsStringApi
  212. def subscribe(channel: String, channels: String*)(fn: (PubSubMessage) => Any): Unit
    Definition Classes
    PubSub
  213. def subscribeRaw(channel: String, channels: String*): Unit
    Definition Classes
    PubSub
  214. def sunion[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): Option[Set[Option[A]]]

    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
  215. def sunionstore(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    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
  216. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  217. def time[A](implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    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
  218. val timeout: Int
    Definition Classes
    RedisClientIO
  219. def toString(): String
    Definition Classes
    RedisClient → AnyRef → Any
  220. def trace(message: String, error: Throwable): Unit
    Definition Classes
    Log
  221. def trace(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  222. def ttl(key: Any)(implicit format: Format): Option[Long]

    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
  223. def unsubscribe(channel: String, channels: String*): Unit
    Definition Classes
    PubSub
  224. def unsubscribe(): Unit
    Definition Classes
    PubSub
  225. def unwatch(): Boolean

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

    Definition Classes
    BaseOperationsBaseApi
  226. def vexists(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    returns the total number of keys existing.

    returns the total number of keys existing. (since 3.0.3)

    Definition Classes
    BaseOperationsBaseApi
  227. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  228. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  229. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  230. def warn(message: String, error: Throwable): Unit
    Definition Classes
    Log
  231. def warn(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  232. def watch(key: Any, keys: Any*)(implicit format: Format): Boolean

    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
  233. def write(data: Array[Byte]): Unit
    Definition Classes
    IO
  234. def write_to_socket(data: Array[Byte])(op: (OutputStream) => Unit): Unit
    Definition Classes
    IO
  235. def zadd(key: Any, score: Double, member: Any, scoreVals: (Double, Any)*)(implicit format: Format): Option[Long]

    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
  236. def zcard(key: Any)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  237. def zcount(key: Any, min: Double = Double.NegativeInfinity, max: Double = Double.PositiveInfinity, minInclusive: Boolean = true, maxInclusive: Boolean = true)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  238. def zincrby(key: Any, incr: Double, member: Any)(implicit format: Format): Option[Double]
    Definition Classes
    SortedSetOperationsSortedSetApi
  239. def zinterstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  240. def zinterstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  241. def zpopmax[A](key: Any, count: Int = 1)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  242. def zpopmin[A](key: Any, count: Int = 1)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  243. def zrange[A](key: Any, start: Int = 0, end: Int = -1, sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  244. def zrangeWithScore[A](key: Any, start: Int = 0, end: Int = -1, sortAs: SortOrder = ASC)(implicit format: Format, parse: Parse[A]): Option[List[(A, Double)]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  245. def zrangebylex[A](key: Any, min: String, max: String, limit: Option[(Int, Int)])(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  246. 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]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  247. 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)]]
    Definition Classes
    SortedSetOperationsSortedSetApi
  248. def zrank(key: Any, member: Any, reverse: Boolean = false)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  249. def zrem(key: Any, member: Any, members: Any*)(implicit format: Format): Option[Long]

    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
  250. def zremrangebyrank(key: Any, start: Int = 0, end: Int = -1)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  251. def zremrangebyscore(key: Any, start: Double = Double.NegativeInfinity, end: Double = Double.PositiveInfinity)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  252. 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]]])]

    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
  253. def zscore(key: Any, element: Any)(implicit format: Format): Option[Double]
    Definition Classes
    SortedSetOperationsSortedSetApi
  254. def zunionstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  255. def zunionstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def hset(key: Any, field: Any, value: Any)(implicit format: Format): Boolean

    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

  3. def randkey[A](implicit parse: Parse[A]): Option[A]
    Definition Classes
    BaseOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8) use randomkey

  4. def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean
    Definition Classes
    StringApi
    Annotations
    @deprecated
    Deprecated

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

  5. def slaveOf(options: Any): Boolean
    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