Packages

c

com.redis.RedisClient

PipelineClient

class PipelineClient extends RedisCommand with PubOperations

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

Instance Constructors

  1. new PipelineClient(parent: RedisClient)

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

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
    PipelineClientIO
  30. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  31. def close(): Unit
    Definition Classes
    PipelineClient → AutoCloseable
  32. def cmd(args: Seq[Array[Byte]]): Array[Byte]
    Definition Classes
    Redis
  33. def connect: Boolean
    Definition Classes
    PipelineClientIO
  34. def connected: Boolean
    Definition Classes
    PipelineClientIO
  35. val database: Int
    Definition Classes
    PipelineClientRedisCommand
  36. val db: Int
    Definition Classes
    IO
  37. def dbsize: Option[Long]

    returns the size of the db.

    returns the size of the db.

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

    decrements the specified key by 1

    decrements the specified key by 1

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

    decrements the specified key by increment

    decrements the specified key by increment

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

    deletes the specified keys.

    deletes the specified keys.

    Definition Classes
    BaseOperationsBaseApi
  43. def disconnect: Boolean
    Definition Classes
    PipelineClientIO
  44. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  46. val errReply: Reply[Nothing]
    Definition Classes
    Reply
  47. def error(message: String, error: Throwable): Unit
    Definition Classes
    Log
  48. def error(message: String, values: AnyRef*): Unit
    Definition Classes
    Log
  49. def evalBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[A]
    Definition Classes
    EvalOperationsEvalApi
  50. def evalInt(luaCode: String, keys: List[Any], args: List[Any]): Option[Int]
    Definition Classes
    EvalOperationsEvalApi
  51. def evalMultiBulk[A](luaCode: String, keys: List[Any], args: List[Any])(implicit format: Format, parse: Parse[A]): Option[List[Option[A]]]

    evaluates lua code on the server.

    evaluates lua code on the server.

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

    test if the specified key exists.

    test if the specified key exists.

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

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

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

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

    sets the expire time for the specified key.

    sets the expire time for the specified key.

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

    removes data from all the DB's.

    removes data from all the DB's.

    Definition Classes
    BaseOperationsBaseApi
  62. def flushdb: Boolean

    removes all the DB data.

    removes all the DB data.

    Definition Classes
    BaseOperationsBaseApi
  63. 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
  64. 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
  65. def geodist(key: Any, m1: Any, m2: Any, unit: Option[Any]): Option[String]
    Definition Classes
    GeoOperationsGeoApi
  66. 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
  67. 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
  68. def georadius(key: Any, longitude: Any, latitude: Any, radius: Any, unit: Any, withCoord: Boolean, withDist: Boolean, withHash: Boolean, count: Option[Int], sort: Option[Any], store: Option[Any], storeDist: Option[Any]): Option[List[Option[GeoRadiusMember]]]

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

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

    key

    The geo index we are searching in

    longitude

    The base longitude for distance computation

    latitude

    The base latitude for distance computation

    radius

    The radius of the circle we want to search in

    unit

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

    withCoord

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

    withDist

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

    withHash

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

    count

    Max number of expected results

    sort

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

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

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

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

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

    key

    The geo index we are searching in

    member

    The member we are searching around

    radius

    The radius of the circle we want to search in

    unit

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

    withCoord

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

    withDist

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

    withHash

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

    count

    Max number of expected results

    sort

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

    store

    The Redis store we want to write the result in

    storeDist

    The redis storedist we want to write the result in

    returns

    The found members as GeoRadiusMember instances

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

    gets the value for the specified key.

    gets the value for the specified key.

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

    CONFIG GET

    CONFIG GET

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

  90. val host: String
    Definition Classes
    PipelineClientIO
  91. 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
  92. 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

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

  94. def hvals[A](key: Any)(implicit format: Format, parse: Parse[A]): Option[List[A]]
    Definition Classes
    HashOperationsHashApi
  95. def ifDebug(message: => String): Unit
    Definition Classes
    Log
  96. def ifError(message: => String): Unit
    Definition Classes
    Log
  97. def ifInfo(message: => String): Unit
    Definition Classes
    Log
  98. def ifTrace(message: => String): Unit
    Definition Classes
    Log
  99. def ifWarn(message: => String): Unit
    Definition Classes
    Log
  100. val in: InputStream
    Definition Classes
    IO
  101. def incr(key: Any)(implicit format: Format): Option[Long]

    increments the specified key by 1

    increments the specified key by 1

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

    Merge existing keys (>= 2.8.9)

    Merge existing keys (>= 2.8.9)

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

    ping

    ping

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

    exits the server.

    exits the server.

    Definition Classes
    BaseOperationsBaseApi
  150. 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
  151. def readCounted(count: Int): Array[Byte]
    Definition Classes
    PipelineClient → Reply → IO
  152. def readLine: Array[Byte]
    Definition Classes
    PipelineClient → Reply → IO
  153. def receive[T](pf: Reply[T]): T
    Definition Classes
    Reply
  154. def reconnect: Boolean
    Definition Classes
    PipelineClientRedis
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. def save: Boolean

    save the DB on disk now.

    save the DB on disk now.

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

    CONFIG SET

    CONFIG SET

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

    Flushes all the previously watched keys for a transaction

    Flushes all the previously watched keys for a transaction

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

Inherited from AutoCloseable

Inherited from HyperLogLogOperations

Inherited from HyperLogLogApi

Inherited from PubOperations

Inherited from EvalOperations

Inherited from EvalApi

Inherited from HashOperations

Inherited from HashApi

Inherited from SortedSetOperations

Inherited from SortedSetApi

Inherited from SetOperations

Inherited from SetApi

Inherited from ListOperations

Inherited from ListApi

Inherited from StringOperations

Inherited from StringApi

Inherited from NodeOperations

Inherited from NodeApi

Inherited from GeoOperations

Inherited from GeoApi

Inherited from BaseOperations

Inherited from BaseApi

Inherited from Redis

Inherited from Protocol

Inherited from R

Inherited from redis.Reply

Inherited from IO

Inherited from Log

Inherited from AnyRef

Inherited from Any

Ungrouped