Packages

case class Set[A, F, BAG[_]](core: Core[BAG], from: Option[From[A]], reverseIteration: Boolean = false)(implicit serializer: Serializer[A], bag: Bag[BAG]) extends Product with Serializable

Set database API.

For documentation check - http://swaydb.io/api/

Self Type
Set[A, F, BAG]
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Set
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Set(core: Core[BAG], from: Option[From[A]], reverseIteration: Boolean = false)(implicit serializer: Serializer[A], bag: Bag[BAG])

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. def add(elems: Iterator[A]): BAG[OK]
  5. def add(elems: Iterable[A]): BAG[OK]
  6. def add(elems: Stream[A]): BAG[OK]
  7. def add(elems: A*): BAG[OK]
  8. def add(elem: A, expireAfter: FiniteDuration): BAG[OK]
  9. def add(elem: A, expireAt: Deadline): BAG[OK]
  10. def add(elem: A): BAG[OK]
  11. def after(key: A): Set[A, F, BAG]
  12. def applyFunction[PF <: F](elem: A, function: PF)(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  13. def applyFunction[PF <: F](from: A, to: A, function: PF)(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def asScala: scala.collection.mutable.Set[A]
  16. def before(key: A): Set[A, F, BAG]
  17. def clear(): BAG[OK]
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. def close(): BAG[Unit]
  20. def commit[PF <: F](prepare: Iterable[Prepare[A, Nothing, PF]])(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  21. def commit[PF <: F](prepare: Stream[Prepare[A, Nothing, PF]])(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  22. def commit[PF <: F](prepare: Prepare[A, Nothing, PF]*)(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  23. def contains(elem: A): BAG[Boolean]
  24. def delete(): BAG[Unit]
  25. def elemSize(elem: A): Int
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def expiration(elem: A): BAG[Option[Deadline]]
  28. def expire(elems: Iterator[(A, Deadline)]): BAG[OK]
  29. def expire(elems: Iterable[(A, Deadline)]): BAG[OK]
  30. def expire(elems: Stream[(A, Deadline)]): BAG[OK]
  31. def expire(elems: (A, Deadline)*): BAG[OK]
  32. def expire(from: A, to: A, at: Deadline): BAG[OK]
  33. def expire(from: A, to: A, after: FiniteDuration): BAG[OK]
  34. def expire(elem: A, at: Deadline): BAG[OK]
  35. def expire(elem: A, after: FiniteDuration): BAG[OK]
  36. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def from(key: A): Set[A, F, BAG]
  38. def fromOrAfter(key: A): Set[A, F, BAG]
  39. def fromOrBefore(key: A): Set[A, F, BAG]
  40. def get(elem: A): BAG[Option[A]]
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. def headOption(readState: ThreadReadState): BAG[Option[A]]
    Attributes
    protected
  43. def headOption: BAG[Option[A]]
  44. def isEmpty: BAG[Boolean]
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[A]]
  47. def lastOption: BAG[Option[A]]
  48. def levelMeter(levelNumber: Int): Option[LevelMeter]
  49. def levelZeroMeter: LevelZeroMeter
  50. def mightContain(elem: A): BAG[Boolean]
  51. def mightContainFunction(functionId: A): BAG[Boolean]
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. def nonEmpty: BAG[Boolean]
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. def registerFunction[PF <: F](function: PF)(implicit ev: <:<[PF, OnKey[A, Nothing, Apply.Set[Nothing]]]): BAG[OK]
  57. def remove(elems: Iterator[A]): BAG[OK]
  58. def remove(elems: Iterable[A]): BAG[OK]
  59. def remove(elems: Stream[A]): BAG[OK]
  60. def remove(elems: A*): BAG[OK]
  61. def remove(from: A, to: A): BAG[OK]
  62. def remove(elem: A): BAG[OK]
  63. def reverse: Set[A, F, BAG]
  64. def sizeOfBloomFilterEntries: BAG[Int]
  65. def sizeOfSegments: Long
  66. def stream: Stream[A]
  67. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  68. def timeLeft(elem: A): BAG[Option[FiniteDuration]]
  69. def toBag[X[_]](implicit bag: Bag[X]): Set[A, F, X]
  70. def toString(): String
    Definition Classes
    Set → AnyRef → Any
  71. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped