Packages

object RedisSet extends RedisSet

Annotations
@deprecated
Deprecated

(Since version 0.6.0) use the pure monix.connect.redis.client.RedisConnection

Source
RedisSet.scala
Linear Supertypes
RedisSet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedisSet
  2. RedisSet
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def sadd[K, V](key: K, members: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Add one or more members to a set.

    Add one or more members to a set.

    returns

    The number of elements that were added to the set, not including all the elements already present into the set.

    Definition Classes
    RedisSet
  16. def scard[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Get the number of members in a set.

    Get the number of members in a set.

    returns

    The cardinality (number of elements) of the set, or { @literal false} if { @code key} does not exist.

    Definition Classes
    RedisSet
  17. def sdiff[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Subtract multiple sets.

    Subtract multiple sets.

    returns

    A list with members of the resulting set.

    Definition Classes
    RedisSet
  18. def sdiffstore[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Subtract multiple sets and store the resulting set in a key.

    Subtract multiple sets and store the resulting set in a key.

    returns

    The number of elements in the resulting set.

    Definition Classes
    RedisSet
  19. def sinter[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Intersect multiple sets.

    Intersect multiple sets.

    returns

    A list with members of the resulting set.

    Definition Classes
    RedisSet
  20. def sinterstore[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Intersect multiple sets and store the resulting set in a key.

    Intersect multiple sets and store the resulting set in a key.

    returns

    The number of elements in the resulting set.

    Definition Classes
    RedisSet
  21. def sismember[K, V](key: K, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Determine if a given value is a member of a set.

    Determine if a given value is a member of a set.

    returns

    True if the element is a member of the set. False if the element is not a member of the set, or if key does not exist.

    Definition Classes
    RedisSet
  22. def smembers[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Get all the members in a set.

    Get all the members in a set.

    returns

    All elements of the set.

    Definition Classes
    RedisSet
  23. def smove[K, V](source: K, destination: K, member: V)(implicit connection: StatefulRedisConnection[K, V]): Task[Boolean]

    Move a member from one set to another.

    Move a member from one set to another.

    returns

    True if the element is moved. False if the element is not a member of source and no operation was performed.

    Definition Classes
    RedisSet
  24. def spop[K, V](key: K, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Remove and return one or multiple random members from a set.

    Remove and return one or multiple random members from a set.

    returns

    The removed element, or null when key does not exist.

    Definition Classes
    RedisSet
  25. def spop[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Remove and return a random member from a set.

    Remove and return a random member from a set.

    returns

    The removed element, or null when key does not exist.

    Definition Classes
    RedisSet
  26. def srandmember[K, V](key: K, count: Long)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Get one or multiple random members from a set.

    Get one or multiple random members from a set.

    returns

    The elements without the additional count argument the command returns a Bulk Reply with the randomly selected element, or null when key does not exist.

    Definition Classes
    RedisSet
  27. def srandmember[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[V]

    Get one random member from a set.

    Get one random member from a set.

    returns

    Without the additional count argument the command returns a Bulk Reply with the randomly selected element, or null when key does not exist.

    Definition Classes
    RedisSet
  28. def srem[K, V](key: K, members: V*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Remove one or more members from a set.

    Remove one or more members from a set.

    returns

    Long hat represents the number of members that were removed from the set, not including non existing members.

    Definition Classes
    RedisSet
  29. def sscan[K, V](key: K)(implicit connection: StatefulRedisConnection[K, V]): Task[ValueScanCursor[V]]

    Incrementally iterate Set elements.

    Incrementally iterate Set elements.

    returns

    Scan cursor.

    Definition Classes
    RedisSet
  30. def sunion[K, V](keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Observable[V]

    Add multiple sets.

    Add multiple sets.

    returns

    The members of the resulting set.

    Definition Classes
    RedisSet
  31. def sunionstore[K, V](destination: K, keys: K*)(implicit connection: StatefulRedisConnection[K, V]): Task[Long]

    Add multiple sets and store the resulting set in a key.

    Add multiple sets and store the resulting set in a key.

    returns

    Long that represents the number of elements in the resulting set.

    Definition Classes
    RedisSet
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from RedisSet

Inherited from AnyRef

Inherited from Any

Ungrouped