Packages

trait SetsApi extends ApiSubset

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetsApi
  2. ApiSubset
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type 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
    ApiSubset
  2. abstract type 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
    ApiSubset
  3. abstract type Result[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
    ApiSubset
  4. abstract type 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
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]
    Definition Classes
    ApiSubset
  2. implicit abstract def hashKeyCodec: RedisDataCodec[HashKey]
    Attributes
    protected
    Definition Classes
    ApiSubset
  3. implicit abstract def keyCodec: RedisDataCodec[Key]
    Attributes
    protected
    Definition Classes
    ApiSubset
  4. implicit abstract def valueCodec: RedisDataCodec[Value]
    Attributes
    protected
    Definition Classes
    ApiSubset

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. implicit def headOps[T](head: T): HeadOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. implicit def iterableTailOps[T](tail: Iterable[T]): IterableTailOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  14. implicit def iteratorTailOps[T](tail: Iterator[T]): IteratorTailOps[T]
    Attributes
    protected
    Definition Classes
    ApiSubset
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def sadd(key: Key, members: Iterable[Value]): Result[Int]

    Executes SADD or simply returns 0 when members is empty

  19. def sadd(key: Key, member: Value, members: Value*): Result[Int]

    Executes SADD

  20. def sadd(key: Key, member: Value): Result[Boolean]

    Executes SADD

  21. def scard(key: Key): Result[Long]

    Executes SCARD

  22. def sdiff(source: Key, keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SDIFF

  23. def sdiff(source: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SDIFF

  24. def sdiffstore(destination: Key, source: Key, keys: Iterable[Key]): Result[Long]

    Executes SDIFFSTORE

  25. def sdiffstore(destination: Key, source: Key, keys: Key*): Result[Long]

    Executes SDIFFSTORE

  26. def sinter(keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SINTER NOTE: keys MUST NOT be empty

  27. def sinter(key: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SINTER

  28. def sinterstore(destination: Key, keys: Iterable[Key]): Result[Long]

    Executes SINTERSTORE NOTE: keys MUST NOT be empty

  29. def sinterstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes SINTERSTORE

  30. def sismember(key: Key, member: Value): Result[Boolean]

    Executes SISMEMBER

  31. def smembers(key: Key): Result[commons.BSet[Value]]

    Executes SMEMBERS

  32. def smove(source: Key, destination: Key, member: Value): Result[Boolean]

    Executes SMOVE

  33. def spop(key: Key, count: Int): Result[commons.BSet[Value]]

    Executes SPOP

  34. def spop(key: Key): Result[commons.Opt[Value]]

    Executes SPOP

  35. def srandmember(key: Key, count: Int): Result[Seq[Value]]

    Executes SRANDMEMBER

  36. def srandmember(key: Key): Result[commons.Opt[Value]]

    Executes SRANDMEMBER

  37. def srandmemberDistinct(key: Key, count: Int): Result[commons.BSet[Value]]

    Executes SRANDMEMBER

  38. def srem(key: Key, members: Iterable[Value]): Result[Int]

    Executes SREM or simply returns 0 when members is empty

  39. def srem(key: Key, member: Value, members: Value*): Result[Int]

    Executes SREM

  40. def srem(key: Key, member: Value): Result[Boolean]

    Executes SREM

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

    Executes SSCAN

  42. def sunion(keys: Iterable[Key]): Result[commons.BSet[Value]]

    Executes SUNION or simply returns empty set when keys is empty

  43. def sunion(key: Key, keys: Key*): Result[commons.BSet[Value]]

    Executes SUNION

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

  45. def sunionstore(destination: Key, key: Key, keys: Key*): Result[Long]

    Executes SUNIONSTORE

  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ApiSubset

Inherited from AnyRef

Inherited from Any

Ungrouped