Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package avsystem
    Definition Classes
    com
  • package commons
    Definition Classes
    avsystem
  • package redis
    Definition Classes
    commons
  • object RedisApi

    Object which contains implementations of various variants of Redis API that this driver provides.

    Object which contains implementations of various variants of Redis API that this driver provides. Each variant implements a set of methods corresponding directly to Redis commands, e.g. get method represents Redis GET command.

    API variants may differ from each other in several independent aspects:

    The most important one is the result type returned by every method corresponding to a Redis command:

    Async and Blocking API variants additionally come in three different "levels", each one exposing different subset of Redis commands. This reflects the fact that not every RedisExecutor (client implementation) supports every command (e.g. you can't execute unkeyed commands using RedisClusterClient).

    • Variants from RedisApi.Keyed include only commands with keys (so that they can be executed on Redis Cluster)
    • Variants from RedisApi.Node include only commands which don't access connection state
    • Variants from RedisApi.Connection include all commands supported by the driver

    Every API variant may also use different types to represent Redis keys, hash keys and values. You can define your own API variants for arbitrary combination of key, hash key and value types as long as there is an instance of RedisDataCodec for every of these types.

    For example, if you keep only numeric values on a Redis Cluster installation, you might define an API variant like this one:

    class NumericKeyedAsyncApi(executor: RedisKeyedExecutor, config: ExecutionConfig = ExecutionConfig.Default)
      extends RedisApi.Keyed.Async[String,String,Long](executor, config)

    API variants which use only Strings (textual) or only ByteStrings (binary) are already implemented by the driver, e.g. RedisApi.Keyed.Async.StringTyped, RedisApi.Batches.BinaryTyped.

    Note that RedisDataCodec is automatically provided for many simple types and also all types which have a GenCodec. This effectively gives you a complete serialization framework for keys, hash keys and values stored in Redis.

    Note that chosen key, hash key and value types can be adjusted "on the fly" with a convenient syntax. For example, if you need to use some case class as a value type in a single, specific place, you can do it without defining a completely separate API variant. For example:

    case class Person(name: String, birthYear: Int)
    object Person {
      implicit val codec: GenCodec[Person] = GenCodec.materialize[Person]
    }
    
    import scala.concurrent.duration._
    implicit val system: ActorSystem = ActorSystem()
    
    val api = RedisApi.Keyed.Blocking.StringTyped(new RedisClusterClient)
    
    // normally, we're just using String-typed API
    api.set("key", "value")
    
    // but in one specific place, we might want to use Person as the value
    // Person has an instance of GenCodec, so it will be automatically serialized to binary format
    api.valueType[Person].set("binaryDataKey", Person("Fred", 1990))
    Definition Classes
    redis
  • object Node

    Entry point for API variants which expose node-level commands, i.e.

    Entry point for API variants which expose node-level commands, i.e. the ones that don't access or modify Redis connection state.

    Definition Classes
    RedisApi
  • Async
  • Blocking

class Blocking[Key, HashKey, Value] extends AbstractRedisApi[Blocking, Key, HashKey, Value] with RedisRecoverableNodeApi with RedisBlockingApi

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Blocking
  2. RedisBlockingApi
  3. RedisExecutedApi
  4. RedisRecoverableNodeApi
  5. RedisNodeApi
  6. NodeScriptingApi
  7. NodeConnectionApi
  8. NodeClusterApi
  9. NodeServerApi
  10. NodeKeysApi
  11. RedisRecoverableKeyedApi
  12. RecoverableKeyedScriptingApi
  13. RecoverableApiSubset
  14. RedisKeyedApi
  15. HyperLogLogApi
  16. SetsApi
  17. ListsApi
  18. SortedSetsApi
  19. HashesApi
  20. KeyedScriptingApi
  21. GeoApi
  22. KeyedClusterApi
  23. StringsApi
  24. KeyedKeysApi
  25. AbstractRedisApi
  26. ApiSubset
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Blocking(executor: RedisNodeExecutor, execConfig: ExecutionConfig = ExecutionConfig.Default)(implicit arg0: RedisDataCodec[Key], arg1: RedisDataCodec[HashKey], arg2: RedisDataCodec[Value])

Type Members

  1. type HashKey = HashKey

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    The type of Redis hash keys or hash key patterns used in methods representing Redis commands that work on hashes (HashesApi).

    Definition Classes
    AbstractRedisApiApiSubset
  2. type Key = Key

    The type of Redis keys or key patterns used in methods representing Redis commands.

    The type of Redis keys or key patterns used in methods representing Redis commands. For example, if Key = String then get returns Result[Opt[String]]. This type is used only for toplevel Redis keys, hash keys have their own type, HashKey.

    Definition Classes
    AbstractRedisApiApiSubset
  3. type Result[A] = A

    The type constructor into which a result of each command is wrapped.

    The type constructor into which a result of each command is wrapped. For example if Result is Future, then incr returns Future[Long].

    Definition Classes
    RedisBlockingApiApiSubset
  4. type Value = Value

    The type of Redis values used in methods representing Redis commands.

    The type of Redis values used in methods representing Redis commands. "Value" is the data that might be stored directly under a Redis key (e.g. using set) but also a value of hash field, list element, set member, sorted set member, geo set member or element inserted into hyper-log-log structure. There are no separate types specified for every of those use cases because only one of them can be used in a single command (for example, there is no Redis command that works on both list elements and set members at the same time).

    Definition Classes
    AbstractRedisApiApiSubset
  5. type WithHashKey[H0] = Blocking[Key, H0, Value]
    Definition Classes
    AbstractRedisApi
  6. type WithKey[K0] = Blocking[K0, HashKey, Value]
    Definition Classes
    AbstractRedisApi
  7. type WithValue[V0] = Blocking[Key, HashKey, V0]
    Definition Classes
    AbstractRedisApi

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: Key, value: Value): Result[Int]

    Executes APPEND

    Executes APPEND

    Definition Classes
    StringsApi
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bgrewriteaof: Result[String]

    Executes BGREWRITEAOF

    Executes BGREWRITEAOF

    Definition Classes
    NodeServerApi
  7. def bgsave(schedule: Boolean = false): Result[String]

    Executes BGSAVE

    Executes BGSAVE

    Definition Classes
    NodeServerApi
  8. def bgsave: Result[String]

    Executes BGSAVE

    Executes BGSAVE

    Definition Classes
    NodeServerApi
  9. def bitcount(key: Key, range: commons.OptArg[(Int, Int)] = OptArg.Empty): Result[Long]

    Executes BITCOUNT

    Executes BITCOUNT

    Definition Classes
    StringsApi
  10. def bitfield(key: Key, ops: Iterable[BitFieldOp]): Result[Seq[commons.Opt[Long]]]

    Executes BITFIELD

    Executes BITFIELD

    Definition Classes
    StringsApi
  11. def bitfield(key: Key, op: BitFieldOp, ops: BitFieldOp*): Result[Seq[commons.Opt[Long]]]

    Executes BITFIELD

    Executes BITFIELD

    Definition Classes
    StringsApi
  12. def bitfield(key: Key, op: BitFieldOp): Result[commons.Opt[Long]]

    Executes BITFIELD

    Executes BITFIELD

    Definition Classes
    StringsApi
  13. def bitop(multiOperation: MultiBitOp, destkey: Key, keys: Key*): Result[Int]

    Executes BITOP

    Executes BITOP

    Definition Classes
    StringsApi
  14. def bitopNot(destkey: Key, key: Key): Result[Int]

    Executes BITOP

    Executes BITOP

    Definition Classes
    StringsApi
  15. def bitpos(key: Key, bit: Boolean, start: Int, end: Int): Result[Long]

    Executes BITPOS

    Executes BITPOS

    Definition Classes
    StringsApi
  16. def bitpos(key: Key, bit: Boolean, start: Int): Result[Long]

    Executes BITPOS

    Executes BITPOS

    Definition Classes
    StringsApi
  17. def bitpos(key: Key, bit: Boolean): Result[Long]

    Executes BITPOS

    Executes BITPOS

    Definition Classes
    StringsApi
  18. def clientKill(filters: ClientFilter*): Result[Int]

    Executes CLIENT KILL

    Executes CLIENT KILL

    Definition Classes
    NodeServerApi
  19. def clientKill(addr: ClientAddress): Result[Unit]

    Executes CLIENT KILL

    Executes CLIENT KILL

    Definition Classes
    NodeServerApi
  20. def clientList: Result[Seq[ClientInfo]]

    Executes CLIENT LIST

    Executes CLIENT LIST

    Definition Classes
    NodeServerApi
  21. def clientPause(timeout: Long): Result[Unit]

    Executes CLIENT PAUSE

    Executes CLIENT PAUSE

    Definition Classes
    NodeServerApi
  22. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. def clusterAddslots(slots: Iterable[Int]): Result[Unit]

    Executes CLUSTER ADDSLOTS or does nothing when slots is empty.

    Executes CLUSTER ADDSLOTS or does nothing when slots is empty.

    Definition Classes
    NodeClusterApi
  24. def clusterAddslots(slot: Int, slots: Int*): Result[Unit]

    Executes CLUSTER ADDSLOTS

    Definition Classes
    NodeClusterApi
  25. def clusterCountFailureReports(nodeId: NodeId): Result[Long]

    Executes CLUSTER COUNT-FAILURE-REPORTS

  26. def clusterCountkeysinslot(slot: Int): Result[Long]

    Executes CLUSTER COUNTKEYSINSLOT

    Definition Classes
    NodeClusterApi
  27. def clusterDelslots(slots: Iterable[Int]): Result[Unit]

    Executes CLUSTER DELSLOTS or does nothing when slots is empty

    Executes CLUSTER DELSLOTS or does nothing when slots is empty

    Definition Classes
    NodeClusterApi
  28. def clusterDelslots(slot: Int, slots: Int*): Result[Unit]

    Executes CLUSTER DELSLOTS

    Definition Classes
    NodeClusterApi
  29. def clusterFailover(option: commons.OptArg[FailoverOption] = OptArg.Empty): Result[Unit]

    Executes CLUSTER FAILOVER

    Definition Classes
    NodeClusterApi
  30. def clusterFailover: Result[Unit]

    Executes CLUSTER FAILOVER

    Definition Classes
    NodeClusterApi
  31. def clusterFlushslots: Result[Unit]
    Definition Classes
    NodeClusterApi
  32. def clusterForget(nodeId: NodeId): Result[Unit]

    Executes CLUSTER FORGET

    Definition Classes
    NodeClusterApi
  33. def clusterGetkeysinslot(slot: Int, count: Int): Result[Seq[Key]]

    Executes CLUSTER GETKEYSINSLOT

    Definition Classes
    NodeClusterApi
  34. def clusterInfo: Result[ClusterStateInfo]

    Executes CLUSTER INFO

    Executes CLUSTER INFO

    Definition Classes
    NodeClusterApi
  35. def clusterKeyslot(key: Key): Result[Int]

    Executes CLUSTER KEYSLOT

    Definition Classes
    KeyedClusterApi
  36. def clusterMeet(address: NodeAddress): Result[Unit]

    Executes CLUSTER MEET

    Executes CLUSTER MEET

    Definition Classes
    NodeClusterApi
  37. def clusterMyid: Result[NodeId]
    Definition Classes
    NodeClusterApi
  38. def clusterNodes: Result[Seq[NodeInfo]]

    Executes CLUSTER NODES

    Executes CLUSTER NODES

    Definition Classes
    NodeClusterApi
  39. def clusterReplicate(nodeId: NodeId): Result[Unit]

    Executes CLUSTER REPLICATE

    Definition Classes
    NodeClusterApi
  40. def clusterReset(hard: Boolean = false): Result[Unit]

    Executes CLUSTER RESET

    Executes CLUSTER RESET

    Definition Classes
    NodeClusterApi
  41. def clusterReset: Result[Unit]

    Executes CLUSTER RESET

    Executes CLUSTER RESET

    Definition Classes
    NodeClusterApi
  42. def clusterSaveconfig: Result[Unit]

    Executes CLUSTER SAVECONFIG

    Definition Classes
    NodeClusterApi
  43. def clusterSetConfigEpoch(configEpoch: Long): Result[Unit]

    Executes CLUSTER SET-CONFIG-EPOCH

    Definition Classes
    NodeClusterApi
  44. def clusterSetslot(slot: Int, subcommand: SetslotCmd): Result[Unit]

    Executes CLUSTER SETSLOT

    Definition Classes
    NodeClusterApi
  45. def clusterSlaves(nodeId: NodeId): Result[Seq[NodeInfo]]

    Executes CLUSTER SLAVES

    Definition Classes
    NodeClusterApi
  46. def clusterSlots: Result[Seq[SlotRangeMapping]]

    Executes CLUSTER SLOTS

    Executes CLUSTER SLOTS

    Definition Classes
    NodeClusterApi
  47. def command: Result[Seq[CommandInfo]]

    Executes COMMAND

    Executes COMMAND

    Definition Classes
    NodeServerApi
  48. def commandCount: Result[Int]

    Executes COMMAND COUNT

    Executes COMMAND COUNT

    Definition Classes
    NodeServerApi
  49. def commandGetkeys(command: Seq[ByteString]): Result[Seq[Key]]

    Executes COMMAND GETKEYS

    Definition Classes
    NodeServerApi
  50. def commandGetkeys(command: RawCommand): Result[Seq[Key]]

    Executes COMMAND GETKEYS

    Definition Classes
    NodeServerApi
  51. def commandInfo(commandNames: Seq[String]): Result[Seq[CommandInfo]]

    Executes COMMAND INFO

    Executes COMMAND INFO

    Definition Classes
    NodeServerApi
  52. def commandInfo(commandName: String, commandNames: String*): Result[Seq[CommandInfo]]

    Executes COMMAND INFO

    Executes COMMAND INFO

    Definition Classes
    NodeServerApi
  53. def commandInfo(commandName: String): Result[CommandInfo]

    Executes COMMAND INFO

    Executes COMMAND INFO

    Definition Classes
    NodeServerApi
  54. def configGet(parameter: String): Result[Seq[(String, String)]]

    Executes CONFIG GET

    Executes CONFIG GET

    Definition Classes
    NodeServerApi
  55. def configResetstat: Result[Unit]

    Executes CONFIG RESETSTAT

    Definition Classes
    NodeServerApi
  56. def configRewrite: Result[Unit]

    Executes CONFIG REWRITE

    Definition Classes
    NodeServerApi
  57. def configSet(parameter: String, value: String): Result[Unit]

    Executes CONFIG SET

    Executes CONFIG SET

    Definition Classes
    NodeServerApi
  58. def copy[K, H, V](newKeyCodec: RedisDataCodec[K], newHashKeyCodec: RedisDataCodec[H], newValueCodec: RedisDataCodec[V]): Blocking[K, H, V]
    Definition Classes
    BlockingAbstractRedisApi
  59. def dbsize: Result[Long]

    Executes DBSIZE

    Executes DBSIZE

    Definition Classes
    NodeServerApi
  60. def debugSegfault: Result[Nothing]

    Executes DEBUG SEGFAULT

    Definition Classes
    NodeServerApi
  61. def decr(key: Key): Result[Long]

    Executes DECR

    Executes DECR

    Definition Classes
    StringsApi
  62. def decrby(key: Key, decrement: Long): Result[Long]

    Executes DECRBY

    Executes DECRBY

    Definition Classes
    StringsApi
  63. def del(keys: Iterable[Key]): Result[Int]

    Executes DEL or simply returns 0 if keys is empty, without sending the command to Redis

    Executes DEL or simply returns 0 if keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  64. def del(key: Key, keys: Key*): Result[Int]

    Executes DEL

    Executes DEL

    Definition Classes
    KeyedKeysApi
  65. def del(key: Key): Result[Boolean]

    Executes DEL

    Executes DEL

    Definition Classes
    KeyedKeysApi
  66. def dump(key: Key): Result[commons.Opt[Dumped]]

    Executes DUMP

    Executes DUMP

    Definition Classes
    KeyedKeysApi
  67. def echo(message: Value): Result[Value]

    Executes ECHO

    Executes ECHO

    Definition Classes
    NodeConnectionApi
  68. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  70. def eval[T](source: String, keys: Seq[Key], args: Seq[Value])(decoder: ReplyDecoder[T]): Result[T]

    Executes EVAL

    Executes EVAL

    Definition Classes
    KeyedScriptingApi
  71. def eval[T](script: RedisScript[T], keys: Seq[Key], args: Seq[Value]): Result[T]

    Executes EVAL

    Executes EVAL

    Definition Classes
    KeyedScriptingApi
  72. def evalsha[T](sha1: Sha1, keys: Seq[Key], args: Seq[Value])(decoder: ReplyDecoder[T]): Result[T]

    Executes EVALSHA

    Executes EVALSHA

    Definition Classes
    KeyedScriptingApi
  73. def evalsha[T](script: RedisScript[T], keys: Seq[Key], args: Seq[Value]): Result[T]

    Executes EVALSHA

    Executes EVALSHA

    Definition Classes
    KeyedScriptingApi
  74. def evalshaOrEval[T](script: RedisScript[T], keys: Seq[Key], args: Seq[Value]): Result[T]

    Tries to execute EVALSHA and falls back to EVAL if script isn't loaded yet.

    Tries to execute EVALSHA and falls back to EVAL if script isn't loaded yet.

    Definition Classes
    RecoverableKeyedScriptingApi
  75. val execConfig: ExecutionConfig
    Definition Classes
    BlockingRedisExecutedApi
  76. def execute[A](command: RedisCommand[A]): A
    Definition Classes
    RedisBlockingApiApiSubset
  77. def executeAsync[A](command: RedisCommand[A]): commons.Future[A]
    Definition Classes
    RedisExecutedApi
  78. val executor: RedisNodeExecutor
    Definition Classes
    BlockingRedisExecutedApi
  79. def exists(keys: Iterable[Key]): Result[Int]

    Executes EXISTS or simply returns 0 when keys is empty, without sending the command to Redis

    Executes EXISTS or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  80. def exists(key: Key, keys: Key*): Result[Int]

    Executes EXISTS

    Executes EXISTS

    Definition Classes
    KeyedKeysApi
  81. def exists(key: Key): Result[Boolean]

    Executes EXISTS

    Executes EXISTS

    Definition Classes
    KeyedKeysApi
  82. def expire(key: Key, seconds: Long): Result[Boolean]

    Executes EXPIRE

    Executes EXPIRE

    Definition Classes
    KeyedKeysApi
  83. def expireat(key: Key, timestamp: Long): Result[Boolean]

    Executes EXPIREAT

    Executes EXPIREAT

    Definition Classes
    KeyedKeysApi
  84. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  85. def flushall(async: Boolean = false): Result[Unit]

    Executes FLUSHALL

    Executes FLUSHALL

    Definition Classes
    NodeServerApi
  86. def flushall: Result[Unit]

    Executes FLUSHALL

    Executes FLUSHALL

    Definition Classes
    NodeServerApi
  87. def flushdb(async: Boolean = false): Result[Unit]

    Executes FLUSHDB

    Executes FLUSHDB

    Definition Classes
    NodeServerApi
  88. def flushdb: Result[Unit]

    Executes FLUSHDB

    Executes FLUSHDB

    Definition Classes
    NodeServerApi
  89. def geoadd(key: Key, items: Iterable[(Value, GeoPoint)]): Result[Int]

    Executes GEOADD or simply returns 0 when items is empty, without sending the command Redis

    Executes GEOADD or simply returns 0 when items is empty, without sending the command Redis

    Definition Classes
    GeoApi
  90. def geoadd(key: Key, item: (Value, GeoPoint), items: (Value, GeoPoint)*): Result[Int]

    Executes GEOADD

    Executes GEOADD

    Definition Classes
    GeoApi
  91. def geoadd(key: Key, member: Value, point: GeoPoint): Result[Boolean]

    Executes GEOADD

    Executes GEOADD

    Definition Classes
    GeoApi
  92. def geodist(key: Key, member1: Value, member2: Value, unit: GeoUnit = GeoUnit.M): Result[commons.Opt[Double]]

    Executes GEODIST

    Executes GEODIST

    Definition Classes
    GeoApi
  93. def geohash(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoHash]]]

    Executes GEOHASH NOTE: members CAN be empty (Redis accepts it)

    Executes GEOHASH NOTE: members CAN be empty (Redis accepts it)

    Definition Classes
    GeoApi
  94. def geohash(key: Key, members: Value*): Result[Seq[commons.Opt[GeoHash]]]

    Executes GEOHASH

    Executes GEOHASH

    Definition Classes
    GeoApi
  95. def geopos(key: Key, members: Iterable[Value]): Result[Seq[commons.Opt[GeoPoint]]]

    Executes GEOPOS NOTE: members CAN be empty (Redis accepts it)

    Executes GEOPOS NOTE: members CAN be empty (Redis accepts it)

    Definition Classes
    GeoApi
  96. def geopos(key: Key, members: Value*): Result[Seq[commons.Opt[GeoPoint]]]

    Executes GEOPOS

    Executes GEOPOS

    Definition Classes
    GeoApi
  97. def georadius[A <: GeoradiusAttrs](key: Key, point: GeoPoint, radius: Double, unit: GeoUnit, attributes: A = GeoradiusAttrs.None, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, readOnly: Boolean = false): Result[Seq[commands.GeoApi.georadius.A.Attributed[Value]]]

    Executes GEORADIUS

    Executes GEORADIUS

    Definition Classes
    GeoApi
  98. def georadiusStore(key: Key, point: GeoPoint, radius: Double, unit: GeoUnit, storeKey: Key, storeDist: Boolean = false, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty): Result[commons.Opt[Long]]

    Executes GEORADIUS

    Executes GEORADIUS

    Definition Classes
    GeoApi
  99. def georadiusbymember[A <: GeoradiusAttrs](key: Key, member: Value, radius: Double, unit: GeoUnit, attributes: A = GeoradiusAttrs.None, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, readOnly: Boolean = false): Result[Seq[commands.GeoApi.georadiusbymember.A.Attributed[Value]]]

    Executes GEORADIUSBYMEMBER

    Definition Classes
    GeoApi
  100. def georadiusbymemberStore(key: Key, member: Value, radius: Double, unit: GeoUnit, storeKey: Key, storeDist: Boolean = false, count: commons.OptArg[Long] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty): Result[commons.Opt[Long]]

    Executes GEORADIUSBYMEMBER

    Definition Classes
    GeoApi
  101. def get(key: Key): Result[commons.Opt[Value]]

    Executes GET

    Executes GET

    Definition Classes
    StringsApi
  102. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  103. def getbit(key: Key, offset: Int): Result[Boolean]

    Executes GETBIT

    Executes GETBIT

    Definition Classes
    StringsApi
  104. def getrange(key: Key, start: Int = 0, end: Int = -1): Result[Value]

    Executes GETRANGE

    Executes GETRANGE

    Definition Classes
    StringsApi
  105. def getset(key: Key, value: Value): Result[commons.Opt[Value]]

    Executes GETSET

    Executes GETSET

    Definition Classes
    StringsApi
  106. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  107. implicit val hashKeyCodec: RedisDataCodec[HashKey]
    Definition Classes
    AbstractRedisApiApiSubset
  108. def hashKeyType[H0](implicit arg0: RedisDataCodec[H0]): WithHashKey[H0]

    Changes the type of hash key used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Changes the type of hash key used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Definition Classes
    AbstractRedisApi
  109. def hdel(key: Key, fields: Iterable[HashKey]): Result[Int]

    Executes HDEL or simply returns 0 when fields is empty, without sending the command to Redis

    Executes HDEL or simply returns 0 when fields is empty, without sending the command to Redis

    Definition Classes
    HashesApi
  110. def hdel(key: Key, field: HashKey, fields: HashKey*): Result[Int]

    Executes HDEL

    Executes HDEL

    Definition Classes
    HashesApi
  111. def hdel(key: Key, field: HashKey): Result[Boolean]

    Executes HDEL

    Executes HDEL

    Definition Classes
    HashesApi
  112. implicit def headOps[T](head: T): HeadOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  113. def hexists(key: Key, field: HashKey): Result[Boolean]

    Executes HEXISTS

    Executes HEXISTS

    Definition Classes
    HashesApi
  114. def hget(key: Key, field: HashKey): Result[commons.Opt[Value]]

    Executes HGET

    Executes HGET

    Definition Classes
    HashesApi
  115. def hgetall(key: Key): Result[commons.BMap[HashKey, Value]]

    Executes HGETALL

    Executes HGETALL

    Definition Classes
    HashesApi
  116. def hincrby(key: Key, field: HashKey, increment: Long): Result[Long]

    Executes HINCRBY

    Executes HINCRBY

    Definition Classes
    HashesApi
  117. def hincrbyfloat(key: Key, field: HashKey, increment: Double): Result[Double]

    Executes HINCRBYFLOAT

    Executes HINCRBYFLOAT

    Definition Classes
    HashesApi
  118. def hkeys(key: Key): Result[commons.BSet[HashKey]]

    Executes HKEYS

    Executes HKEYS

    Definition Classes
    HashesApi
  119. def hlen(key: Key): Result[Long]

    Executes HLEN

    Executes HLEN

    Definition Classes
    HashesApi
  120. def hmget(key: Key, fields: Iterable[HashKey]): Result[Seq[commons.Opt[Value]]]

    Executes HMGET or simply returns empty Seq when fields is empty, without sending the command to Redis

    Executes HMGET or simply returns empty Seq when fields is empty, without sending the command to Redis

    Definition Classes
    HashesApi
  121. def hmget(key: Key, field: HashKey, fields: HashKey*): Result[Seq[commons.Opt[Value]]]

    Executes HMGET

    Executes HMGET

    Definition Classes
    HashesApi
  122. def hmset(key: Key, fieldValues: Iterable[(HashKey, Value)]): Result[Unit]

    Executes HMSET or does nothing when fieldValues is empty, without sending the command to Redis

    Executes HMSET or does nothing when fieldValues is empty, without sending the command to Redis

    Definition Classes
    HashesApi
  123. def hmset(key: Key, fieldValue: (HashKey, Value), fieldValues: (HashKey, Value)*): Result[Unit]

    Executes HMSET

    Executes HMSET

    Definition Classes
    HashesApi
  124. def hscan(key: Key, cursor: Cursor, matchPattern: commons.OptArg[HashKey] = OptArg.Empty, count: commons.OptArg[Int] = OptArg.Empty): Result[(Cursor, Seq[(HashKey, Value)])]

    Executes HSCAN

    Executes HSCAN

    Definition Classes
    HashesApi
  125. def hset(key: Key, fieldValues: Iterable[(HashKey, Value)]): Result[Int]

    Executes HSET or does nothing when fieldValues is empty, without sending the command to Redis

    Executes HSET or does nothing when fieldValues is empty, without sending the command to Redis

    Definition Classes
    HashesApi
  126. def hset(key: Key, fieldValue: (HashKey, Value), fieldValues: (HashKey, Value)*): Result[Int]

    Executes HSET

    Executes HSET

    Definition Classes
    HashesApi
  127. def hset(key: Key, field: HashKey, value: Value): Result[Boolean]

    Executes HSET

    Executes HSET

    Definition Classes
    HashesApi
  128. def hsetnx(key: Key, field: HashKey, value: Value): Result[Boolean]

    Executes HSETNX

    Executes HSETNX

    Definition Classes
    HashesApi
  129. def hstrlen(key: Key, field: HashKey): Result[Int]

    Executes HSTRLEN

    Executes HSTRLEN

    Definition Classes
    HashesApi
  130. def hvals(key: Key): Result[Iterable[Value]]

    Executes HVALS

    Executes HVALS

    Definition Classes
    HashesApi
  131. def incr(key: Key): Result[Long]

    Executes INCR

    Executes INCR

    Definition Classes
    StringsApi
  132. def incrby(key: Key, increment: Long): Result[Long]

    Executes INCRBY

    Executes INCRBY

    Definition Classes
    StringsApi
  133. def incrbyfloat(key: Key, increment: Double): Result[Double]

    Executes INCRBYFLOAT

    Executes INCRBYFLOAT

    Definition Classes
    StringsApi
  134. def info[T >: FullRedisInfo <: RedisInfo](section: RedisInfoSection[T]): Result[T]

    Executes INFO

    Executes INFO

    Definition Classes
    NodeServerApi
  135. def info: Result[DefaultRedisInfo]

    Executes INFO

    Executes INFO

    Definition Classes
    NodeServerApi
  136. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  137. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  138. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  139. implicit val keyCodec: RedisDataCodec[Key]
    Definition Classes
    AbstractRedisApiApiSubset
  140. def keySlot(key: Key): Int
    Definition Classes
    KeyedClusterApi
  141. def keyType[K0](implicit arg0: RedisDataCodec[K0]): WithKey[K0]

    Changes the type of key used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Changes the type of key used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Definition Classes
    AbstractRedisApi
  142. def keys(pattern: Key): Result[commons.BSet[Key]]

    Executes KEYS

    Executes KEYS

    Definition Classes
    NodeKeysApi
  143. def lastsave: Result[Long]

    Executes LASTSAVE

    Executes LASTSAVE

    Definition Classes
    NodeServerApi
  144. def lindex(key: Key, index: Long): Result[commons.Opt[Value]]

    Executes LINDEX

    Executes LINDEX

    Definition Classes
    ListsApi
  145. def linsert(key: Key, pivot: Value, value: Value, before: Boolean = false): Result[commons.Opt[Long]]

    Executes LINSERT

    Executes LINSERT

    Definition Classes
    ListsApi
  146. def llen(key: Key): Result[Long]

    Executes LLEN

    Executes LLEN

    Definition Classes
    ListsApi
  147. def lpop(key: Key): Result[commons.Opt[Value]]

    Executes LPOP

    Executes LPOP

    Definition Classes
    ListsApi
  148. def lpush(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSH NOTE: values MUST NOT be empty - consider using lpushOrLlen in such case.

    Executes LPUSH NOTE: values MUST NOT be empty - consider using lpushOrLlen in such case.

    Definition Classes
    ListsApi
  149. def lpush(key: Key, value: Value, values: Value*): Result[Long]

    Executes LPUSH

    Executes LPUSH

    Definition Classes
    ListsApi
  150. def lpushOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSH or LLEN when values is empty

    Executes LPUSH or LLEN when values is empty

    Definition Classes
    ListsApi
  151. def lpushx(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSHX

    Executes LPUSHX

    Definition Classes
    ListsApi
  152. def lpushx(key: Key, value: Value, values: Value*): Result[Long]

    Executes LPUSHX

    Executes LPUSHX

    Definition Classes
    ListsApi
  153. def lpushxOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes LPUSHX or LLEN when values is empty

    Executes LPUSHX or LLEN when values is empty

    Definition Classes
    ListsApi
  154. def lrange(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[Value]]

    Executes LRANGE

    Executes LRANGE

    Definition Classes
    ListsApi
  155. def lrem(key: Key, value: Value, count: RemCount = RemCount.All): Result[Long]

    Executes LREM

    Executes LREM

    Definition Classes
    ListsApi
  156. def lset(key: Key, index: Long, value: Value): Result[Unit]

    Executes LSET

    Executes LSET

    Definition Classes
    ListsApi
  157. def ltrim(key: Key, start: Long = 0, stop: Long = -1): Result[Unit]

    Executes LTRIM

    Executes LTRIM

    Definition Classes
    ListsApi
  158. def memoryUsage(key: Key, samples: commons.OptArg[Long] = OptArg.Empty): Result[commons.Opt[Long]]
    Definition Classes
    KeyedKeysApi
  159. def mget(keys: Iterable[Key]): Result[Seq[commons.Opt[Value]]]

    Executes MGET or simply returns empty Seq when keys is empty, without sending the command to Redis

    Executes MGET or simply returns empty Seq when keys is empty, without sending the command to Redis

    Definition Classes
    StringsApi
  160. def mget(key: Key, keys: Key*): Result[Seq[commons.Opt[Value]]]

    Executes MGET

    Executes MGET

    Definition Classes
    StringsApi
  161. def migrate(keys: Iterable[Key], address: NodeAddress, destinationDb: Int, timeout: Long, copy: Boolean = false, replace: Boolean = false): Result[Boolean]

    Executes MIGRATE or simply returns true when keys is empty, without sending the command to Redis

    Executes MIGRATE or simply returns true when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  162. def move(key: Key, db: Int): Result[Boolean]

    Executes MOVE

    Executes MOVE

    Definition Classes
    NodeKeysApi
  163. def mset(keyValues: Iterable[(Key, Value)]): Result[Unit]

    Executes MSET or does nothing when keyValues is empty, without sending the command to Redis

    Executes MSET or does nothing when keyValues is empty, without sending the command to Redis

    Definition Classes
    StringsApi
  164. def mset(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Unit]

    Executes MSET

    Executes MSET

    Definition Classes
    StringsApi
  165. def msetnx(keyValues: Iterable[(Key, Value)]): Result[Boolean]

    Executes MSETNX or simply returns true when keyValues is empty, without sending the command to Redis

    Executes MSETNX or simply returns true when keyValues is empty, without sending the command to Redis

    Definition Classes
    StringsApi
  166. def msetnx(keyValue: (Key, Value), keyValues: (Key, Value)*): Result[Boolean]

    Executes MSETNX

    Executes MSETNX

    Definition Classes
    StringsApi
  167. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  168. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  169. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  170. def objectEncoding(key: Key): Result[commons.Opt[Encoding]]

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  171. def objectIdletime(key: Key): Result[commons.Opt[Long]]

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  172. def objectRefcount(key: Key): Result[commons.Opt[Long]]

    Executes OBJECT

    Executes OBJECT

    Definition Classes
    KeyedKeysApi
  173. def persist(key: Key): Result[Boolean]

    Executes PERSIST

    Executes PERSIST

    Definition Classes
    KeyedKeysApi
  174. def pexpire(key: Key, milliseconds: Long): Result[Boolean]

    Executes PEXPIRE

    Executes PEXPIRE

    Definition Classes
    KeyedKeysApi
  175. def pexpireat(key: Key, millisecondsTimestamp: Long): Result[Boolean]

    Executes PEXPIREAT

    Executes PEXPIREAT

    Definition Classes
    KeyedKeysApi
  176. def pfadd(key: Key, elements: Iterable[Value]): Result[Boolean]

    Executes PFADD NOTE: elements CAN be empty, Redis accepts it

    Executes PFADD NOTE: elements CAN be empty, Redis accepts it

    Definition Classes
    HyperLogLogApi
  177. def pfadd(key: Key, elements: Value*): Result[Boolean]

    Executes PFADD

    Executes PFADD

    Definition Classes
    HyperLogLogApi
  178. def pfcount(keys: Iterable[Key]): Result[Long]

    Executes PFCOUNT or simply returns 0 when keys is empty, without sending the command to Redis

    Executes PFCOUNT or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    HyperLogLogApi
  179. def pfcount(key: Key, keys: Key*): Result[Long]

    Executes PFCOUNT

    Executes PFCOUNT

    Definition Classes
    HyperLogLogApi
  180. def pfmerge(destkey: Key, sourcekeys: Iterable[Key]): Result[Unit]

    Executes PFMERGE.

    Executes PFMERGE. NOTE: sourcekeys CAN be empty, Redis accepts it

    Definition Classes
    HyperLogLogApi
  181. def pfmerge(destkey: Key, sourcekeys: Key*): Result[Unit]

    Executes PFMERGE

    Executes PFMERGE

    Definition Classes
    HyperLogLogApi
  182. def ping: Result[ByteString]

    Executes PING

    Executes PING

    Definition Classes
    NodeConnectionApi
  183. def psetex(key: Key, milliseconds: Long, value: Value): Result[Unit]

    Executes PSETEX

    Executes PSETEX

    Definition Classes
    StringsApi
  184. def pttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Executes PTTL

    Executes PTTL

    Definition Classes
    KeyedKeysApi
  185. def randomkey: Result[commons.Opt[Key]]

    Executes RANDOMKEY

    Executes RANDOMKEY

    Definition Classes
    NodeKeysApi
  186. def recoverWith[A](executed: ⇒ A)(fun: PartialFunction[Throwable, A]): Result[A]
    Definition Classes
    RedisBlockingApiRecoverableApiSubset
  187. def rename(key: Key, newkey: Key): Result[Unit]

    Executes RENAME

    Executes RENAME

    Definition Classes
    KeyedKeysApi
  188. def renamenx(key: Key, newkey: Key): Result[Boolean]

    Executes RENAMENX

    Executes RENAMENX

    Definition Classes
    KeyedKeysApi
  189. def restore(key: Key, ttl: Long, dumpedValue: Dumped, replace: Boolean = false): Result[Unit]

    Executes RESTORE

    Executes RESTORE

    Definition Classes
    KeyedKeysApi
  190. def role: Result[RedisRole]

    Executes ROLE

    Executes ROLE

    Definition Classes
    NodeServerApi
  191. def rpop(key: Key): Result[commons.Opt[Value]]

    Executes RPOP

    Executes RPOP

    Definition Classes
    ListsApi
  192. def rpoplpush(source: Key, destination: Key): Result[commons.Opt[Value]]

    Executes RPOPLPUSH

    Executes RPOPLPUSH

    Definition Classes
    ListsApi
  193. def rpush(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSH NOTE: values MUST NOT be empty - consider using rpushOrLlen in such case.

    Executes RPUSH NOTE: values MUST NOT be empty - consider using rpushOrLlen in such case.

    Definition Classes
    ListsApi
  194. def rpush(key: Key, value: Value, values: Value*): Result[Long]

    Executes RPUSH

    Executes RPUSH

    Definition Classes
    ListsApi
  195. def rpushOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSH or LLEN when values is empty

    Executes RPUSH or LLEN when values is empty

    Definition Classes
    ListsApi
  196. def rpushx(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSHX

    Executes RPUSHX

    Definition Classes
    ListsApi
  197. def rpushx(key: Key, value: Value, values: Value*): Result[Long]

    Executes RPUSHX

    Executes RPUSHX

    Definition Classes
    ListsApi
  198. def rpushxOrLlen(key: Key, values: Iterable[Value]): Result[Long]

    Executes RPUSHX or LLEN when values is empty

    Executes RPUSHX or LLEN when values is empty

    Definition Classes
    ListsApi
  199. def sadd(key: Key, members: Iterable[Value]): Result[Int]

    Executes SADD or simply returns 0 when members is empty

    Executes SADD or simply returns 0 when members is empty

    Definition Classes
    SetsApi
  200. def sadd(key: Key, member: Value, members: Value*): Result[Int]

    Executes SADD

    Executes SADD

    Definition Classes
    SetsApi
  201. def sadd(key: Key, member: Value): Result[Boolean]

    Executes SADD

    Executes SADD

    Definition Classes
    SetsApi
  202. def save: Result[Unit]

    Executes SAVE

    Executes SAVE

    Definition Classes
    NodeServerApi
  203. def scan(cursor: Cursor, matchPattern: commons.OptArg[Key] = OptArg.Empty, count: commons.OptArg[Long] = OptArg.Empty): Result[(Cursor, Seq[Key])]

    Executes SCAN

    Executes SCAN

    Definition Classes
    NodeKeysApi
  204. def scard(key: Key): Result[Long]

    Executes SCARD

    Executes SCARD

    Definition Classes
    SetsApi
  205. def scriptExists(hashes: Iterable[Sha1]): Result[Seq[Boolean]]

    Executes SCRIPT EXISTS NOTE: hashes CAN be empty, Redis accepts it

    Executes SCRIPT EXISTS NOTE: hashes CAN be empty, Redis accepts it

    Definition Classes
    NodeScriptingApi
  206. def scriptExists(hash: Sha1, hashes: Sha1*): Result[Seq[Boolean]]

    SCRIPT EXISTS

  207. def scriptExists(hash: Sha1): Result[Boolean]

    SCRIPT EXISTS

  208. def scriptFlush: Result[Unit]

    Executes SCRIPT FLUSH

    Executes SCRIPT FLUSH

    Definition Classes
    NodeScriptingApi
  209. def scriptKill: Result[Unit]

    Executes SCRIPT KILL

    Executes SCRIPT KILL

    Definition Classes
    NodeScriptingApi
  210. def scriptLoad(script: RedisScript[Any]): Result[Sha1]

    Executes SCRIPT LOAD

    Executes SCRIPT LOAD

    Definition Classes
    NodeScriptingApi
  211. def sdiff(source: Key, keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SDIFF

    Executes SDIFF

    Definition Classes
    SetsApi
  212. def sdiff(source: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SDIFF

    Executes SDIFF

    Definition Classes
    SetsApi
  213. def sdiffstore(destination: Key, source: Key, keys: Iterable[Key]): Result[Long]

    Executes SDIFFSTORE

    Executes SDIFFSTORE

    Definition Classes
    SetsApi
  214. def sdiffstore(destination: Key, source: Key, keys: Key*): Result[Long]

    Executes SDIFFSTORE

    Executes SDIFFSTORE

    Definition Classes
    SetsApi
  215. def set(key: Key, value: Value, expiration: commons.OptArg[Expiration] = OptArg.Empty, existence: commons.OptArg[Boolean] = OptArg.Empty): Result[Boolean]

    Executes SET

    Executes SET

    Definition Classes
    StringsApi
  216. def setbit(key: Key, offset: Long, value: Boolean): Result[Boolean]

    Executes SETBIT

    Executes SETBIT

    Definition Classes
    StringsApi
  217. def setex(key: Key, seconds: Long, value: Value): Result[Unit]

    Executes SETEX

    Executes SETEX

    Definition Classes
    StringsApi
  218. def setnx(key: Key, value: Value): Result[Boolean]

    Executes SETNX

    Executes SETNX

    Definition Classes
    StringsApi
  219. def setrange(key: Key, offset: Int, value: Value): Result[Int]

    Executes SETRANGE

    Executes SETRANGE

    Definition Classes
    StringsApi
  220. def shutdown(modifier: commons.OptArg[ShutdownModifier] = OptArg.Empty): Result[Nothing]

    Executes SHUTDOWN

    Executes SHUTDOWN

    Definition Classes
    NodeServerApi
  221. def shutdown: Result[Nothing]

    Executes SHUTDOWN

    Executes SHUTDOWN

    Definition Classes
    NodeServerApi
  222. def sinter(keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SINTER NOTE: keys MUST NOT be empty

    Executes SINTER NOTE: keys MUST NOT be empty

    Definition Classes
    SetsApi
  223. def sinter(key: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SINTER

    Executes SINTER

    Definition Classes
    SetsApi
  224. def sinterstore(destination: Key, keys: Iterable[Key]): Result[Long]

    Executes SINTERSTORE NOTE: keys MUST NOT be empty

    Executes SINTERSTORE NOTE: keys MUST NOT be empty

    Definition Classes
    SetsApi
  225. def sinterstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes SINTERSTORE

    Executes SINTERSTORE

    Definition Classes
    SetsApi
  226. def sismember(key: Key, member: Value): Result[Boolean]

    Executes SISMEMBER

    Executes SISMEMBER

    Definition Classes
    SetsApi
  227. def slaveof(newMaster: NodeAddress): Result[Unit]

    Executes SLAVEOF

    Executes SLAVEOF

    Definition Classes
    NodeServerApi
  228. def slaveofNoOne: Result[Unit]

    Executes SLAVEOF

    Executes SLAVEOF

    Definition Classes
    NodeServerApi
  229. def slowlogGet(count: commons.OptArg[Int] = OptArg.Empty): Result[Seq[SlowlogEntry]]

    Executes SLOWLOG

    Executes SLOWLOG

    Definition Classes
    NodeServerApi
  230. def slowlogGet: Result[Seq[SlowlogEntry]]

    Executes SLOWLOG

    Executes SLOWLOG

    Definition Classes
    NodeServerApi
  231. def slowlogLen: Result[Long]

    Executes SLOWLOG

    Executes SLOWLOG

    Definition Classes
    NodeServerApi
  232. def slowlogReset: Result[Unit]

    Executes SLOWLOG

    Executes SLOWLOG

    Definition Classes
    NodeServerApi
  233. def smembers(key: Key): Result[commons.BSet[Value]]

    Executes SMEMBERS

    Executes SMEMBERS

    Definition Classes
    SetsApi
  234. def smove(source: Key, destination: Key, member: Value): Result[Boolean]

    Executes SMOVE

    Executes SMOVE

    Definition Classes
    SetsApi
  235. def sort(key: Key, by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Value]]

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  236. def sortGet(key: Key, gets: Seq[SortPattern[Key, HashKey]], by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Seq[Seq[commons.Opt[Value]]]]

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  237. def sortStore(key: Key, destination: Key, by: commons.OptArg[SortPattern[Key, HashKey]] = OptArg.Empty, limit: commons.OptArg[SortLimit] = OptArg.Empty, gets: Seq[SortPattern[Key, HashKey]] = Nil, sortOrder: commons.OptArg[SortOrder] = OptArg.Empty, alpha: Boolean = false): Result[Long]

    Executes SORT

    Executes SORT

    Definition Classes
    KeyedKeysApi
  238. def spop(key: Key, count: Int): Result[commons.BSet[Value]]

    Executes SPOP

    Executes SPOP

    Definition Classes
    SetsApi
  239. def spop(key: Key): Result[commons.Opt[Value]]

    Executes SPOP

    Executes SPOP

    Definition Classes
    SetsApi
  240. def srandmember(key: Key, count: Int): Result[Seq[Value]]

    Executes SRANDMEMBER

    Executes SRANDMEMBER

    Definition Classes
    SetsApi
  241. def srandmember(key: Key): Result[commons.Opt[Value]]

    Executes SRANDMEMBER

    Executes SRANDMEMBER

    Definition Classes
    SetsApi
  242. def srandmemberDistinct(key: Key, count: Int): Result[commons.BSet[Value]]

    Executes SRANDMEMBER

    Executes SRANDMEMBER

    Definition Classes
    SetsApi
  243. def srem(key: Key, members: Iterable[Value]): Result[Int]

    Executes SREM or simply returns 0 when members is empty

    Executes SREM or simply returns 0 when members is empty

    Definition Classes
    SetsApi
  244. def srem(key: Key, member: Value, members: Value*): Result[Int]

    Executes SREM

    Executes SREM

    Definition Classes
    SetsApi
  245. def srem(key: Key, member: Value): Result[Boolean]

    Executes SREM

    Executes SREM

    Definition Classes
    SetsApi
  246. def sscan(key: Key, cursor: Cursor, matchPattern: commons.OptArg[Value] = OptArg.Empty, count: commons.OptArg[Int] = OptArg.Empty): Result[(Cursor, Seq[Value])]

    Executes SSCAN

    Executes SSCAN

    Definition Classes
    SetsApi
  247. def strlen(key: Key): Result[Int]

    Executes STRLEN

    Executes STRLEN

    Definition Classes
    StringsApi
  248. def sunion(keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SUNION or simply returns empty set when keys is empty

    Executes SUNION or simply returns empty set when keys is empty

    Definition Classes
    SetsApi
  249. def sunion(key: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SUNION

    Executes SUNION

    Definition Classes
    SetsApi
  250. def sunionstore(destination: Key, keys: Iterable[Key]): Result[Long]

    Executes SUNIONSTORE NOTE: unlike in SUNION keys MUST NOT be empty because SUNIONSTORE overwrites destination key.

    Executes SUNIONSTORE NOTE: unlike in SUNION keys MUST NOT be empty because SUNIONSTORE overwrites destination key. An operation equivalent to invoking SUNIONSTORE with only destination and no keys would be DEL destination

    Definition Classes
    SetsApi
  251. def sunionstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes SUNIONSTORE

    Executes SUNIONSTORE

    Definition Classes
    SetsApi
  252. def swapdb(first: Int, second: Int): Result[Unit]

    Executes SWAPDB

    Executes SWAPDB

    Definition Classes
    NodeConnectionApi
  253. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  254. def time: Result[RedisTimestamp]

    Executes TIME

    Executes TIME

    Definition Classes
    NodeServerApi
  255. def toString(): String
    Definition Classes
    AnyRef → Any
  256. def touch(keys: Iterable[Key]): Result[Int]

    Executes TOUCH or simply returns 0 when keys is empty, without sending the command to Redis

    Executes TOUCH or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  257. def touch(key: Key, keys: Key*): Result[Int]

    Executes TOUCH

    Executes TOUCH

    Definition Classes
    KeyedKeysApi
  258. def touch(key: Key): Result[Boolean]

    Executes TOUCH

    Executes TOUCH

    Definition Classes
    KeyedKeysApi
  259. def transformHashKey[H0](read: (HashKey) ⇒ H0)(write: (H0) ⇒ HashKey): WithHashKey[H0]

    Changes the type of hash key used by this API variant to some other type by directly providing functions which convert between new and old type.

    Changes the type of hash key used by this API variant to some other type by directly providing functions which convert between new and old type.

    Definition Classes
    AbstractRedisApi
  260. def transformKey[K0](read: (Key) ⇒ K0)(write: (K0) ⇒ Key): WithKey[K0]

    Changes the type of key used by this API variant to some other type by directly providing functions which convert between new and old type.

    Changes the type of key used by this API variant to some other type by directly providing functions which convert between new and old type.

    Definition Classes
    AbstractRedisApi
  261. def transformValue[V0](read: (Value) ⇒ V0)(write: (V0) ⇒ Value): WithValue[V0]

    Changes the type of value used by this API variant to some other type by directly providing functions which convert between new and old type.

    Changes the type of value used by this API variant to some other type by directly providing functions which convert between new and old type.

    Definition Classes
    AbstractRedisApi
  262. def ttl(key: Key): Result[commons.Opt[commons.Opt[Long]]]

    Executes TTL

    Executes TTL

    Definition Classes
    KeyedKeysApi
  263. def type(key: Key): Result[RedisType]

    Executes TYPE

    Executes TYPE

    Definition Classes
    KeyedKeysApi
  264. def unlink(keys: Iterable[Key]): Result[Int]

    Executes UNLINK or simply returns 0 when keys is empty, without sending the command to Redis

    Executes UNLINK or simply returns 0 when keys is empty, without sending the command to Redis

    Definition Classes
    KeyedKeysApi
  265. def unlink(key: Key, keys: Key*): Result[Int]

    Executes UNLINK

    Executes UNLINK

    Definition Classes
    KeyedKeysApi
  266. def unlink(key: Key): Result[Boolean]

    Executes UNLINK

    Executes UNLINK

    Definition Classes
    KeyedKeysApi
  267. implicit val valueCodec: RedisDataCodec[Value]
    Definition Classes
    AbstractRedisApiApiSubset
  268. def valueType[V0](implicit arg0: RedisDataCodec[V0]): WithValue[V0]

    Changes the type of value used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Changes the type of value used by this API variant to some other type for which an instance of RedisDataCodec exists.

    Definition Classes
    AbstractRedisApi
  269. def wait(numslaves: Int, timeout: Long): Result[Long]

    Executes WAIT

    Executes WAIT

    Definition Classes
    NodeKeysApi
  270. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  271. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  272. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  273. def zadd(key: Key, memberScores: Iterable[(Value, Double)], existence: commons.OptArg[Boolean] = OptArg.Empty, changed: Boolean = false): Result[Int]

    Executes ZADD or simply returns 0 when memberScores is empty

    Executes ZADD or simply returns 0 when memberScores is empty

    Definition Classes
    SortedSetsApi
  274. def zadd(key: Key, score: Double, members: Iterable[Value]): Result[Int]

    Executes ZADD or simply returns 0 when members is empty

    Executes ZADD or simply returns 0 when members is empty

    Definition Classes
    SortedSetsApi
  275. def zadd(key: Key, score: Double, member: Value, members: Value*): Result[Int]

    Executes ZADD

    Executes ZADD

    Definition Classes
    SortedSetsApi
  276. def zadd(key: Key, member: Value, score: Double): Result[Boolean]

    Executes ZADD

    Executes ZADD

    Definition Classes
    SortedSetsApi
  277. def zadd(key: Key, memberScore: (Value, Double), memberScores: (Value, Double)*): Result[Int]

    Executes ZADD

    Executes ZADD

    Definition Classes
    SortedSetsApi
  278. def zaddIncr(key: Key, member: Value, score: Double, existence: commons.OptArg[Boolean] = OptArg.Empty): Result[commons.Opt[Double]]

    Executes ZADD

    Executes ZADD

    Definition Classes
    SortedSetsApi
  279. def zcard(key: Key): Result[Long]

    Executes ZCARD

    Executes ZCARD

    Definition Classes
    SortedSetsApi
  280. def zcount(key: Key, min: ScoreLimit = ScoreLimit.MinusInf, max: ScoreLimit = ScoreLimit.PlusInf): Result[Long]

    Executes ZCOUNT

    Executes ZCOUNT

    Definition Classes
    SortedSetsApi
  281. def zincrby(key: Key, increment: Double, member: Value): Result[Double]

    Executes ZINCRBY

    Executes ZINCRBY

    Definition Classes
    SortedSetsApi
  282. def zinterstore(destination: Key, keys: Iterable[Key], aggregation: commons.OptArg[Aggregation] = OptArg.Empty): Result[Long]

    Executes ZINTERSTORE NOTE: keys MUST NOT be empty

    Executes ZINTERSTORE NOTE: keys MUST NOT be empty

    Definition Classes
    SortedSetsApi
  283. def zinterstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes ZINTERSTORE

    Executes ZINTERSTORE

    Definition Classes
    SortedSetsApi
  284. def zinterstoreWeights(destination: Key, keysWeights: Iterable[(Key, Double)], aggregation: commons.OptArg[Aggregation] = OptArg.Empty): Result[Long]

    Executes ZINTERSTORE NOTE: keysWeights MUST NOT be empty

    Executes ZINTERSTORE NOTE: keysWeights MUST NOT be empty

    Definition Classes
    SortedSetsApi
  285. def zinterstoreWeights(destination: Key, keyWeight: (Key, Double), keysWeights: (Key, Double)*): Result[Long]

    Executes ZINTERSTORE

    Executes ZINTERSTORE

    Definition Classes
    SortedSetsApi
  286. def zlexcount(key: Key, min: LexLimit[Value] = LexLimit.MinusInf, max: LexLimit[Value] = LexLimit.PlusInf): Result[Long]

    Executes ZLEXCOUNT

    Executes ZLEXCOUNT

    Definition Classes
    SortedSetsApi
  287. def zrange(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[Value]]

    Executes ZRANGE

    Executes ZRANGE

    Definition Classes
    SortedSetsApi
  288. def zrangeWithscores(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[(Value, Double)]]

    Executes ZRANGE

    Executes ZRANGE

    Definition Classes
    SortedSetsApi
  289. def zrangebylex(key: Key, min: LexLimit[Value] = LexLimit.MinusInf, max: LexLimit[Value] = LexLimit.PlusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[Value]]

    Executes ZRANGEBYLEX

    Executes ZRANGEBYLEX

    Definition Classes
    SortedSetsApi
  290. def zrangebyscore(key: Key, min: ScoreLimit = ScoreLimit.MinusInf, max: ScoreLimit = ScoreLimit.PlusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[Value]]

    Executes ZRANGEBYSCORE

    Executes ZRANGEBYSCORE

    Definition Classes
    SortedSetsApi
  291. def zrangebyscoreWithscores(key: Key, min: ScoreLimit = ScoreLimit.MinusInf, max: ScoreLimit = ScoreLimit.PlusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[(Value, Double)]]

    Executes ZRANGEBYSCORE

    Executes ZRANGEBYSCORE

    Definition Classes
    SortedSetsApi
  292. def zrank(key: Key, member: Value): Result[commons.Opt[Long]]

    Executes ZRANK

    Executes ZRANK

    Definition Classes
    SortedSetsApi
  293. def zrem(key: Key, members: Iterable[Value]): Result[Int]

    Executes ZREM or simply returns 0 when members is empty

    Executes ZREM or simply returns 0 when members is empty

    Definition Classes
    SortedSetsApi
  294. def zrem(key: Key, member: Value, members: Value*): Result[Int]

    Executes ZREM

    Executes ZREM

    Definition Classes
    SortedSetsApi
  295. def zrem(key: Key, member: Value): Result[Boolean]

    Executes ZREM

    Executes ZREM

    Definition Classes
    SortedSetsApi
  296. def zremrangebylex(key: Key, min: LexLimit[Value] = LexLimit.MinusInf, max: LexLimit[Value] = LexLimit.PlusInf): Result[Long]

    Executes ZREMRANGEBYLEX

    Definition Classes
    SortedSetsApi
  297. def zremrangebyrank(key: Key, start: Long = 0, stop: Long = -1): Result[Long]

    Executes ZREMRANGEBYRANK

    Definition Classes
    SortedSetsApi
  298. def zremrangebyscore(key: Key, min: ScoreLimit = ScoreLimit.MinusInf, max: ScoreLimit = ScoreLimit.PlusInf): Result[Long]

    Executes ZREMRANGEBYSCORE

    Definition Classes
    SortedSetsApi
  299. def zrevrange(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[Value]]

    Executes ZREVRANGE

    Executes ZREVRANGE

    Definition Classes
    SortedSetsApi
  300. def zrevrangeWithscores(key: Key, start: Long = 0, stop: Long = -1): Result[Seq[(Value, Double)]]

    Executes ZREVRANGE

    Executes ZREVRANGE

    Definition Classes
    SortedSetsApi
  301. def zrevrangebylex(key: Key, max: LexLimit[Value] = LexLimit.PlusInf, min: LexLimit[Value] = LexLimit.MinusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[Value]]

    Executes ZREVRANGEBYLEX

    Definition Classes
    SortedSetsApi
  302. def zrevrangebyscore(key: Key, max: ScoreLimit = ScoreLimit.PlusInf, min: ScoreLimit = ScoreLimit.MinusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[Value]]

    Executes ZREVRANGEBYSCORE

    Definition Classes
    SortedSetsApi
  303. def zrevrangebyscoreWithscores(key: Key, max: ScoreLimit = ScoreLimit.PlusInf, min: ScoreLimit = ScoreLimit.MinusInf, limit: commons.OptArg[Limit] = OptArg.Empty): Result[Seq[(Value, Double)]]

    Executes ZREVRANGEBYSCORE

    Definition Classes
    SortedSetsApi
  304. def zrevrank(key: Key, member: Value): Result[commons.Opt[Long]]

    Executes ZREVRANK

    Executes ZREVRANK

    Definition Classes
    SortedSetsApi
  305. def zscan(key: Key, cursor: Cursor, matchPattern: commons.OptArg[Value] = OptArg.Empty, count: commons.OptArg[Int] = OptArg.Empty): Result[(Cursor, Seq[(Value, Double)])]

    Executes ZSCAN

    Executes ZSCAN

    Definition Classes
    SortedSetsApi
  306. def zscore(key: Key, member: Value): Result[commons.Opt[Double]]

    Executes ZSCORE

    Executes ZSCORE

    Definition Classes
    SortedSetsApi
  307. def zunionstore(destination: Key, keys: Iterable[Key], aggregation: commons.OptArg[Aggregation] = OptArg.Empty): Result[Long]

    Executes ZUNIONSTORE NOTE: keys MUST NOT be empty

    Executes ZUNIONSTORE NOTE: keys MUST NOT be empty

    Definition Classes
    SortedSetsApi
  308. def zunionstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes ZUNIONSTORE

    Executes ZUNIONSTORE

    Definition Classes
    SortedSetsApi
  309. def zunionstoreWeights(destination: Key, keysWeights: Iterable[(Key, Double)], aggregation: commons.OptArg[Aggregation] = OptArg.Empty): Result[Long]

    Executes ZUNIONSTORE NOTE: keysWeights MUST NOT be empty

    Executes ZUNIONSTORE NOTE: keysWeights MUST NOT be empty

    Definition Classes
    SortedSetsApi
  310. def zunionstoreWeights(destination: Key, keyWeight: (Key, Double), keysWeights: (Key, Double)*): Result[Long]

    Executes ZUNIONSTORE

    Executes ZUNIONSTORE

    Definition Classes
    SortedSetsApi

Inherited from RedisBlockingApi

Inherited from RedisExecutedApi

Inherited from RedisRecoverableNodeApi

Inherited from RedisNodeApi

Inherited from NodeScriptingApi

Inherited from NodeConnectionApi

Inherited from NodeClusterApi

Inherited from NodeServerApi

Inherited from NodeKeysApi

Inherited from RedisRecoverableKeyedApi

Inherited from RecoverableApiSubset

Inherited from RedisKeyedApi

Inherited from HyperLogLogApi

Inherited from SetsApi

Inherited from ListsApi

Inherited from SortedSetsApi

Inherited from HashesApi

Inherited from KeyedScriptingApi

Inherited from GeoApi

Inherited from KeyedClusterApi

Inherited from StringsApi

Inherited from KeyedKeysApi

Inherited from AbstractRedisApi[Blocking, Key, HashKey, Value]

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped