t

com.redis

RedisCommand

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

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

    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]]]]]]]
    Definition Classes
    Reply
  3. type MultiReply = PartialFunction[(Char, Array[Byte]), Option[List[Option[Array[Byte]]]]]
    Definition Classes
    Reply
  4. type PairReply = PartialFunction[(Char, Array[Byte]), Option[(Option[Array[Byte]], Option[List[Option[Array[Byte]]]])]]
    Definition Classes
    Reply
  5. type Reply[T] = PartialFunction[(Char, Array[Byte]), T]
    Definition Classes
    Reply
  6. type SingleReply = PartialFunction[(Char, Array[Byte]), Option[Array[Byte]]]
    Definition Classes
    Reply

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    AutoCloseable
    Annotations
    @throws(classOf[java.lang.Exception])
  2. abstract val host: String
    Definition Classes
    IO
  3. abstract val port: Int
    Definition Classes
    IO
  4. abstract val timeout: Int
    Definition Classes
    IO

Concrete 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 asBoolean: Boolean
    Definition Classes
    R
  7. def asBulk[T](implicit parse: Parse[T]): Option[T]
    Definition Classes
    R
  8. def asBulkWithTime[T](implicit parse: Parse[T]): Option[T]
    Definition Classes
    R
  9. def asExec(handlers: Seq[() => Any]): Option[List[Any]]
    Definition Classes
    R
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def asInt: Option[Int]
    Definition Classes
    R
  12. def asList[T](implicit parse: Parse[T]): Option[List[Option[T]]]
    Definition Classes
    R
  13. def asListPairs[A, B](implicit parseA: Parse[A], parseB: Parse[B]): Option[List[Option[(A, B)]]]
    Definition Classes
    R
  14. def asLong: Option[Long]
    Definition Classes
    R
  15. def asPair[T](implicit parse: Parse[T]): Option[(Option[Int], Option[List[Option[T]]])]
    Definition Classes
    R
  16. def asQueuedList: Option[List[Option[String]]]
    Definition Classes
    R
  17. def asSet[T](implicit arg0: Parse[T]): Option[Set[Option[T]]]
    Definition Classes
    R
  18. def asString: Option[String]
    Definition Classes
    R
  19. def auth(secret: Any)(implicit format: Format): Boolean

    auths with the server.

    auths with the server.

    Definition Classes
    BaseOperationsBaseApi
  20. def bgrewriteaof: Boolean
    Definition Classes
    NodeOperationsNodeApi
  21. def bgsave: Boolean

    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]

    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]

    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)]
    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)]
    Definition Classes
    ListOperationsListApi
  26. def brpoplpush[A](srcKey: Any, dstKey: Any, timeoutInSeconds: Int)(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    ListOperationsListApi
  27. def bulkRead(s: Array[Byte]): Option[Array[Byte]]
    Definition Classes
    Reply
  28. val bulkReply: SingleReply
    Definition Classes
    Reply
  29. def clearFd(): Unit
    Definition Classes
    IO
  30. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  31. def cmd(args: Seq[Array[Byte]]): Array[Byte]
    Definition Classes
    Redis
  32. def connect: Boolean
    Definition Classes
    IO
  33. def connected: Boolean
    Definition Classes
    IO
  34. val database: Int
  35. val db: Int
    Definition Classes
    IO
  36. def dbsize: Option[Long]

    returns the size of the db.

    returns the size of the db.

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

    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]

    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]

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  42. def disconnect: Boolean
    Definition Classes
    IO
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  45. val errReply: Reply[Nothing]
    Definition Classes
    Reply
  46. def error(message: String, error: Throwable): Unit
    Definition Classes
    Log
  47. def error(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  48. def evalBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  49. def evalInt(luaCode: String, keys: List[Any], args: List[Any]): Option[Int]
    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]]]

    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]]]
    Definition Classes
    EvalOperationsEvalApi
  52. def evalSHA[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  53. def evalSHABulk[A](shahash: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  54. def execReply(handlers: Seq[() => Any]): PartialFunction[(Char, Array[Byte]), Option[List[Any]]]
    Definition Classes
    Reply
  55. def exists(key: Any)(implicit format: Format): Boolean

    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

    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

    sets the expire time for the specified key.

    sets the expire time for the specified key.

    Definition Classes
    BaseOperationsBaseApi
  58. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  59. def flattenPairs(in: Iterable[Product2[Any, Any]]): List[Any]
    Attributes
    protected
    Definition Classes
    Redis
  60. def flushall: Boolean

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  61. def flushdb: Boolean

    removes all the DB data.

    removes all the DB data.

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

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

    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]

    gets the value for the specified key.

    gets the value for the specified key.

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

    CONFIG GET

    CONFIG GET

    Definition Classes
    BaseOperationsBaseApi
  72. 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
  73. 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
  74. 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
  75. 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
  76. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  77. def hdel(key: Any, field: Any, fields: Any*)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  78. def hexists(key: Any, field: Any)(implicit format: Format): Boolean
    Definition Classes
    HashOperationsHashApi
  79. def hget[A](key: Any, field: Any)(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    HashOperationsHashApi
  80. def hgetall[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  81. def hgetall1[K, V](key: Any)(implicit format: Format, parseK: Parse[K], parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  82. def hincrby(key: Any, field: Any, value: Long)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  83. def hincrbyfloat(key: Any, field: Any, value: Float)(implicit format: Format): Option[Float]
    Definition Classes
    HashOperationsHashApi
  84. def hkeys[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    HashOperationsHashApi
  85. def hlen(key: Any)(implicit format: Format): Option[Long]
    Definition Classes
    HashOperationsHashApi
  86. def hmget[K, V](key: Any, fields: K*)(implicit format: Format, parseV: Parse[V]): Option[Map[K, V]]
    Definition Classes
    HashOperationsHashApi
  87. 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

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

    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]

    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

    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]]
    Definition Classes
    HashOperationsHashApi
  92. def ifDebug(message: => String): Unit
    Definition Classes
    Log
  93. def ifError(message: => String): Unit
    Definition Classes
    Log
  94. def ifInfo(message: => String): Unit
    Definition Classes
    Log
  95. def ifTrace(message: => String): Unit
    Definition Classes
    Log
  96. def ifWarn(message: => String): Unit
    Definition Classes
    Log
  97. val in: InputStream
    Definition Classes
    IO
  98. def incr(key: Any)(implicit format: Format): Option[Long]

    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]

    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]
    Definition Classes
    StringOperationsStringApi
  101. 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
  102. def info(message: String, error: Throwable): Unit
    Definition Classes
    Log
  103. def info(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  104. def initialize: Boolean
    Definition Classes
    RedisCommandRedis
  105. val integerReply: Reply[Option[Int]]
    Definition Classes
    Reply
  106. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  107. 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
  108. 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
  109. 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
  110. 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
  111. val longReply: Reply[Option[Long]]
    Definition Classes
    Reply
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. val multiBulkNested: MultiNestedReply
    Definition Classes
    Reply
  125. val multiBulkReply: MultiReply
    Definition Classes
    Reply
  126. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  127. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  128. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  129. val out: OutputStream
    Definition Classes
    IO
  130. val pairBulkReply: PairReply
    Definition Classes
    Reply
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. def pfmerge(destination: Any, sources: Any*): Boolean

    Merge existing keys (>= 2.8.9)

    Merge existing keys (>= 2.8.9)

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

    ping

    ping

    Definition Classes
    BaseOperationsBaseApi
  138. val pong: Option[String]
    Attributes
    protected
    Definition Classes
    BaseApi
  139. def psetex(key: Any, expiryInMillis: Long, value: Any)(implicit format: Format): Boolean
    Definition Classes
    StringOperationsStringApi
  140. 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
  141. def publish(channel: String, msg: String): Option[Long]
    Definition Classes
    PubOperations
  142. def queuedReplyInt: Reply[Option[Int]]
    Definition Classes
    Reply
  143. def queuedReplyList: MultiReply
    Definition Classes
    Reply
  144. def queuedReplyLong: Reply[Option[Long]]
    Definition Classes
    Reply
  145. def quit: Boolean

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  146. 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
  147. def readCounted(count: Int): Array[Byte]
    Definition Classes
    IO
  148. def readLine: Array[Byte]
    Definition Classes
    IO
  149. def receive[T](pf: Reply[T]): T
    Definition Classes
    Reply
  150. def reconnect: Boolean
    Definition Classes
    Redis
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. def save: Boolean

    save the DB on disk now.

    save the DB on disk now.

    Definition Classes
    NodeOperationsNodeApi
  159. 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
  160. 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
  161. def scriptExists(shahash: String): Option[Int]
    Definition Classes
    EvalOperationsEvalApi
  162. def scriptFlush: Option[String]
    Definition Classes
    EvalOperationsEvalApi
  163. def scriptLoad(luaCode: String): Option[String]
    Definition Classes
    EvalOperationsEvalApi
  164. 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
  165. 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
  166. val secret: Option[Any]
  167. 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
  168. def send[A](command: String)(result: => A): A
    Definition Classes
    Redis
  169. def send[A](command: String, args: Seq[Any])(result: => A)(implicit format: Format): A
    Definition Classes
    Redis
  170. def set(key: Any, value: Any, onlyIfExists: Boolean, time: SecondsOrMillis): Boolean
    Definition Classes
    StringOperationsStringApi
  171. def set(key: Any, value: Any)(implicit format: Format): Boolean

    sets the key with the specified value.

    sets the key with the specified value.

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

    CONFIG SET

    CONFIG SET

    Definition Classes
    BaseOperationsBaseApi
  173. 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
  174. def setex(key: Any, expiry: Long, value: Any)(implicit format: Format): Boolean
    Definition Classes
    StringOperationsStringApi
  175. 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
  176. 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
  177. 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
  178. val singleLineReply: SingleReply
    Definition Classes
    Reply
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. val socket: Socket
    Definition Classes
    IO
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  198. 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
  199. def toString(): String
    Definition Classes
    AnyRef → Any
  200. def trace(message: String, error: Throwable): Unit
    Definition Classes
    Log
  201. def trace(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  202. 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
  203. def unwatch(): Boolean

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

    Definition Classes
    BaseOperationsBaseApi
  204. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  205. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  206. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  207. def warn(message: String, error: Throwable): Unit
    Definition Classes
    Log
  208. def warn(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  209. 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
  210. def write(data: Array[Byte]): Unit
    Definition Classes
    IO
  211. def write_to_socket(data: Array[Byte])(op: (OutputStream) => Unit): Unit
    Definition Classes
    IO
  212. 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
  213. def zcard(key: Any)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  214. 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
  215. def zincrby(key: Any, incr: Double, member: Any)(implicit format: Format): Option[Double]
    Definition Classes
    SortedSetOperationsSortedSetApi
  216. def zinterstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  217. def zinterstoreWeighted(dstKey: Any, kws: Iterable[Product2[Any, Double]], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. def zrank(key: Any, member: Any, reverse: Boolean = false)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  224. 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
  225. def zremrangebyrank(key: Any, start: Int = 0, end: Int = -1)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  226. def zremrangebyscore(key: Any, start: Double = Double.NegativeInfinity, end: Double = Double.PositiveInfinity)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  227. 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
  228. def zscore(key: Any, element: Any)(implicit format: Format): Option[Double]
    Definition Classes
    SortedSetOperationsSortedSetApi
  229. def zunionstore(dstKey: Any, keys: Iterable[Any], aggregate: Aggregate = SUM)(implicit format: Format): Option[Long]
    Definition Classes
    SortedSetOperationsSortedSetApi
  230. 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 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

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

    (Since version 2.8) use randomkey

  3. def set(key: Any, value: Any, nxxx: Any, expx: Any, time: Long): Boolean
    Definition Classes
    StringOperations
    Annotations
    @deprecated
    Deprecated

    (Since version 2.14) Use the more typesafe variant

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