object RedisSet extends RedisSet
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) use the pure
monix.connect.redis.client.RedisConnection
- Source
- RedisSet.scala
- Alphabetic
- By Inheritance
- RedisSet
- RedisSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()