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. type Field = RedisSerialization.Field
    Definition Classes
    ApiSubset
  2. type Key = RedisSerialization.Key
    Definition Classes
    ApiSubset
  3. type Record = RedisSerialization.Record
    Definition Classes
    ApiSubset
  4. 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
  5. type Value = RedisSerialization.Value
    Definition Classes
    ApiSubset

Abstract Value Members

  1. abstract def execute[A](command: RedisCommand[A]): Result[A]
    Definition Classes
    ApiSubset
  2. abstract val serialization: RedisSerialization
    Definition Classes
    ApiSubset

Concrete Value Members

  1. def sadd(key: Key, members: Iterable[Value]): Result[Int]

    Executes SADD or simply returns 0 when members is empty

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

    Executes SADD

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

    Executes SADD

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

    Executes SCARD

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

    Executes SDIFF

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

    Executes SDIFF

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

    Executes SDIFFSTORE

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

    Executes SDIFFSTORE

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

    Executes SINTER NOTE: keys MUST NOT be empty

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

    Executes SINTER

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

    Executes SINTERSTORE NOTE: keys MUST NOT be empty

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

    Executes SINTERSTORE

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

    Executes SISMEMBER

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

    Executes SMEMBERS

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

    Executes SMOVE

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

    Executes SPOP

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

    Executes SPOP

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

    Executes SRANDMEMBER

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

    Executes SRANDMEMBER

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

    Executes SRANDMEMBER

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

    Executes SREM or simply returns 0 when members is empty

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

    Executes SREM

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

    Executes SREM

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

    Executes SSCAN

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

    Executes SUNION or simply returns empty set when keys is empty

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

    Executes SUNION

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

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

    Executes SUNIONSTORE