Trait

com.redis

RedisCommand

Related Doc: package redis

Permalink

trait RedisCommand extends Redis with BaseOperations with GeoOperations with NodeOperations with StringOperations with ListOperations with SetOperations with SortedSetOperations with HashOperations with EvalOperations with PubOperations with HyperLogLogOperations with AutoCloseable

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

Type Members

  1. 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
  2. type MultiNestedReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[List[Option[Array[Byte]]]]]]]

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

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

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

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

    Permalink
    Definition Classes
    Reply

Abstract Value Members

  1. abstract def close(): Unit

    Permalink
    Definition Classes
    AutoCloseable
    Annotations
    @throws( classOf[java.lang.Exception] )
  2. abstract val host: String

    Permalink
    Definition Classes
    IO
  3. abstract val port: Int

    Permalink
    Definition Classes
    IO
  4. abstract val timeout: Int

    Permalink
    Definition Classes
    IO

Concrete 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 cmd(args: Seq[Array[Byte]]): Array[Byte]

    Permalink
    Definition Classes
    Redis
  32. def connect: Boolean

    Permalink
    Definition Classes
    IO
  33. def connected: Boolean

    Permalink
    Definition Classes
    IO
  34. val database: Int

    Permalink
  35. var db: Int

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

    Permalink

    returns the size of the db.

    returns the size of the db.

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

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

    Permalink
    Definition Classes
    Log
  39. 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
  40. 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
  41. def del(key: Any, keys: Any*)(implicit format: Format): Option[Long]

    Permalink

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  42. def disconnect: Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  50. 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
  51. 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
  52. def evalSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]

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

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

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

    Permalink

    test if the specified key exists.

    test if the specified key exists.

    Definition Classes
    BaseOperationsBaseApi
  56. 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
  57. 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
  58. def finalize(): Unit

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

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

    Permalink

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  61. def flushdb: Boolean

    Permalink

    removes all the DB data.

    removes all the DB data.

    Definition Classes
    BaseOperationsBaseApi
  62. 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
  63. 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
  64. def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]

    Permalink
    Definition Classes
    GeoOperationsGeoApi
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. final def getClass(): Class[_]

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

    Permalink

    CONFIG GET

    CONFIG GET

    Definition Classes
    BaseOperationsBaseApi
  72. 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
  73. 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
  74. 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
  75. 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
  76. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HashOperationsHashApi
  87. 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

  88. 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
  89. 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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Log
  97. var in: InputStream

    Permalink
    Definition Classes
    IO
  98. 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
  99. 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
  100. def incrbyfloat(key: Any, increment: Float)(implicit format: Format): Option[Float]

    Permalink
    Definition Classes
    StringOperationsStringApi
  101. 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
  102. def info(message: String, error: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  106. 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
  107. 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
  108. 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
  109. 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
  110. val longReply: Reply[Option[Long]]

    Permalink
    Definition Classes
    Reply
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. val multiBulkNested: MultiNestedReply

    Permalink
    Definition Classes
    Reply
  124. val multiBulkReply: MultiReply

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

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

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

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

    Permalink
    Definition Classes
    RedisCommandIO
  129. var out: OutputStream

    Permalink
    Definition Classes
    IO
  130. val pairBulkReply: PairReply

    Permalink
    Definition Classes
    Reply
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. def pfmerge(destination: Any, sources: Any*): Boolean

    Permalink

    Merge existing keys (>= 2.8.9)

    Merge existing keys (>= 2.8.9)

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

    Permalink

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  138. val pong: Option[String]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseApi
  139. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  140. 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
  141. def publish(channel: String, msg: String): Option[Long]

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

    Permalink
    Definition Classes
    Reply
  143. def queuedReplyList: MultiReply

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

    Permalink
    Definition Classes
    Reply
  145. def quit: Boolean

    Permalink

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  146. 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
  147. def readCounted(count: Int): Array[Byte]

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

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

    Permalink
    Definition Classes
    Reply
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. def save: Boolean

    Permalink

    save the DB on disk now.

    save the DB on disk now.

    Definition Classes
    NodeOperationsNodeApi
  158. 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
  159. 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
  160. def scriptExists(shahash: String): Option[Int]

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

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

    Permalink
    Definition Classes
    EvalOperationsEvalApi
  163. 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
  164. 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
  165. val secret: Option[Any]

    Permalink
  166. 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
  167. def send[A](command: String)(result: ⇒ A): A

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

    Permalink
    Definition Classes
    Redis
  169. 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
  170. def setConfig(key: Any, value: Any)(implicit format: Format): Option[String]

    Permalink

    CONFIG SET

    CONFIG SET

    Definition Classes
    BaseOperationsBaseApi
  171. 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
  172. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean

    Permalink
    Definition Classes
    StringOperationsStringApi
  173. 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
  174. 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
  175. 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
  176. val singleLineReply: SingleReply

    Permalink
    Definition Classes
    Reply
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. var socket: Socket

    Permalink
    Definition Classes
    IO
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. val sslContext: Option[SSLContext]

    Permalink
    Definition Classes
    IO
  193. 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
  194. 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
  195. 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
  196. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  197. 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
  198. def toString(): String

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

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

    Permalink
    Definition Classes
    Log
  201. 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
  202. 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
  203. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    Log
  208. 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
  209. def write(data: Array[Byte]): Unit

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

    Permalink
    Definition Classes
    IO
  211. 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
  212. def zcard(key: Any)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  213. 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
  214. def zincrby(key: Any, incr: Double, member: Any)(implicit format: Format): Option[Double]

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

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

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. def zrank(key: Any, member: Any, reverse: Boolean = false)(implicit format: Format): Option[Long]

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  223. 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
  224. def zremrangebyrank(key: Any, start: Int = 0, end: Int = 1)(implicit format: Format): Option[Long]

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

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  226. 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
  227. def zscore(key: Any, element: Any)(implicit format: Format): Option[Double]

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

    Permalink
    Definition Classes
    SortedSetOperationsSortedSetApi
  229. 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 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