trait SetOperations[F[+_]] extends SetApi[F]
- Alphabetic
- By Inheritance
- SetOperations
- SetApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toany2stringadd[SetOperations[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (SetOperations[F], B)
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toArrowAssoc[SetOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- 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() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (SetOperations[F]) => Boolean, msg: => Any): SetOperations[F]
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toEnsuring[SetOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SetOperations[F]) => Boolean): SetOperations[F]
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toEnsuring[SetOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SetOperations[F]
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toEnsuring[SetOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SetOperations[F]
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toEnsuring[SetOperations[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toStringFormat[SetOperations[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def sadd(key: Any, value: Any, values: Any*)(implicit format: Format): F[Resp[Option[Long]]]
Add the specified members to the set value stored at key.
Add the specified members to the set value stored at key. (VARIADIC: >= 2.4)
- Definition Classes
- SetOperations → SetApi
- def scard(key: Any)(implicit format: Format): F[Resp[Option[Long]]]
Return the number of elements (the cardinality) of the Set at key.
Return the number of elements (the cardinality) of the Set at key.
- Definition Classes
- SetOperations → SetApi
- def sdiff[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Set[Option[A]]]]]
Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.
Return the difference between the Set stored at key1 and all the Sets key2, ..., keyN.
- Definition Classes
- SetOperations → SetApi
- def sdiffstore(key: Any, keys: Any*)(implicit format: Format): F[Resp[Option[Long]]]
Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.
Compute the difference between the Set key1 and all the Sets key2, ..., keyN, and store the resulting Set at dstkey.
- Definition Classes
- SetOperations → SetApi
- def sinter[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Set[Option[A]]]]]
Return the intersection between the Sets stored at key1, key2, ..., keyN.
Return the intersection between the Sets stored at key1, key2, ..., keyN.
- Definition Classes
- SetOperations → SetApi
- def sinterstore(key: Any, keys: Any*)(implicit format: Format): F[Resp[Option[Long]]]
Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.
Compute the intersection between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey. SINTERSTORE returns the size of the intersection, unlike what the documentation says refer http://code.google.com/p/redis/issues/detail?id=121
- Definition Classes
- SetOperations → SetApi
- def sismember(key: Any, value: Any)(implicit format: Format): F[Resp[Boolean]]
Test if the specified value is a member of the Set at key.
Test if the specified value is a member of the Set at key.
- Definition Classes
- SetOperations → SetApi
- def smembers[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Set[Option[A]]]]]
Return all the members of the Set value at key.
Return all the members of the Set value at key.
- Definition Classes
- SetOperations → SetApi
- def smove(sourceKey: Any, destKey: Any, value: Any)(implicit format: Format): F[Resp[Option[Long]]]
Move the specified member from one Set to another atomically.
Move the specified member from one Set to another atomically.
- Definition Classes
- SetOperations → SetApi
- def spop[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Set[Option[A]]]]]
Remove and return multiple random elements (pop) from the Set value at key since (3.2).
Remove and return multiple random elements (pop) from the Set value at key since (3.2).
- Definition Classes
- SetOperations → SetApi
- def spop[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
Remove and return (pop) a random element from the Set value at key.
Remove and return (pop) a random element from the Set value at key.
- Definition Classes
- SetOperations → SetApi
- def srandmember[A](key: Any, count: Int)(implicit format: Format, parse: Parse[A]): F[Resp[Option[List[Option[A]]]]]
Return multiple random elements from a Set (since 2.6)
Return multiple random elements from a Set (since 2.6)
- Definition Classes
- SetOperations → SetApi
- def srandmember[A](key: Any)(implicit format: Format, parse: Parse[A]): F[Resp[Option[A]]]
Return a random element from a Set
Return a random element from a Set
- Definition Classes
- SetOperations → SetApi
- def srem(key: Any, value: Any, values: Any*)(implicit format: Format): F[Resp[Option[Long]]]
Remove the specified members from the set value stored at key.
Remove the specified members from the set value stored at key. (VARIADIC: >= 2.4)
- Definition Classes
- SetOperations → SetApi
- def sscan[A](key: Any, cursor: Int, pattern: Any = "*", count: Int = 10)(implicit format: Format, parse: Parse[A]): F[Resp[Option[(Option[Int], Option[List[Option[A]]])]]]
Incrementally iterate Set elements (since 2.8)
Incrementally iterate Set elements (since 2.8)
- Definition Classes
- SetOperations → SetApi
- def sunion[A](key: Any, keys: Any*)(implicit format: Format, parse: Parse[A]): F[Resp[Option[Set[Option[A]]]]]
Return the union between the Sets stored at key1, key2, ..., keyN.
Return the union between the Sets stored at key1, key2, ..., keyN.
- Definition Classes
- SetOperations → SetApi
- def sunionstore(key: Any, keys: Any*)(implicit format: Format): F[Resp[Option[Long]]]
Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey.
Compute the union between the Sets stored at key1, key2, ..., keyN, and store the resulting Set at dstkey. SUNIONSTORE returns the size of the union, unlike what the documentation says refer http://code.google.com/p/redis/issues/detail?id=121
- Definition Classes
- SetOperations → SetApi
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (SetOperations[F], B)
- Implicit
- This member is added by an implicit conversion from SetOperations[F] toArrowAssoc[SetOperations[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.