Packages

case class Set[A, T[_]](core: Core[T], from: Option[From[A]], reverseIteration: Boolean = false)(implicit serializer: Serializer[A], tag: Tag[T]) extends Streamable[A, T] with Product with Serializable

Set database API.

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

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

Instance Constructors

  1. new Set(core: Core[T], from: Option[From[A]], reverseIteration: Boolean = false)(implicit serializer: Serializer[A], tag: Tag[T])

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: Iterable[A]): T[Done]
  5. def add(elems: Stream[A, T]): T[Done]
  6. def add(elems: A*): T[Done]
  7. def add(elem: A, expireAfter: FiniteDuration): T[Done]
  8. def add(elem: A, expireAt: Deadline): T[Done]
  9. def add(elem: A): T[Done]
  10. def after(key: A): Set[A, T]
  11. def applyFunction(elem: A, function: A): T[Done]
  12. def applyFunction(from: A, to: A, functionID: A): T[Done]
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def asScala: scala.collection.mutable.Set[A]
  15. def before(key: A): Set[A, T]
  16. def clear(): T[Done]
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  18. def close(): T[Unit]
  19. def commit(prepare: Iterable[Prepare[A, Nothing]]): T[Done]
  20. def commit(prepare: Stream[Prepare[A, Nothing], T]): T[Done]
  21. def commit(prepare: Prepare[A, Nothing]*): T[Done]
  22. def contains(elem: A): T[Boolean]
  23. def delete(): T[Unit]
  24. def drop(count: Int): Stream[A, T]
    Definition Classes
    Set → Streamable
  25. def dropWhile(f: (A) ⇒ Boolean): Stream[A, T]
    Definition Classes
    Set → Streamable
  26. def elemSize(elem: A): Int
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def expiration(elem: A): T[Option[Deadline]]
  29. def expire(elems: Iterable[(A, Deadline)]): T[Done]
  30. def expire(elems: Stream[(A, Deadline), T]): T[Done]
  31. def expire(elems: (A, Deadline)*): T[Done]
  32. def expire(from: A, to: A, at: Deadline): T[Done]
  33. def expire(from: A, to: A, after: FiniteDuration): T[Done]
  34. def expire(elem: A, at: Deadline): T[Done]
  35. def expire(elem: A, after: FiniteDuration): T[Done]
  36. def filter(f: (A) ⇒ Boolean): Stream[A, T]
    Definition Classes
    Set → Streamable
  37. def filterNot(f: (A) ⇒ Boolean): Stream[A, T]
    Definition Classes
    Set → Streamable
  38. def flatMap[B](f: (A) ⇒ Stream[B, T]): Stream[B, T]
    Definition Classes
    Set → Streamable
  39. def foldLeft[B](initial: B)(f: (B, A) ⇒ B): T[B]
    Definition Classes
    Set → Streamable
  40. def foreach[U](f: (A) ⇒ U): Stream[Unit, T]
    Definition Classes
    Set → Streamable
  41. def from(key: A): Set[A, T]
  42. def fromOrAfter(key: A): Set[A, T]
  43. def fromOrBefore(key: A): Set[A, T]
  44. def get(elem: A): T[Option[A]]
  45. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def headOption: T[Option[A]]
    Definition Classes
    Set → Streamable
  47. def isEmpty: T[Boolean]
  48. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  49. def lastOption: T[Option[A]]
    Definition Classes
    Set → Streamable
  50. def level0Meter: LevelZeroMeter
  51. def levelMeter(levelNumber: Int): Option[LevelMeter]
  52. def map[B](f: (A) ⇒ B): Stream[B, T]
    Definition Classes
    Set → Streamable
  53. def mightContain(elem: A): T[Boolean]
  54. def mightContainFunction(functionId: A): T[Boolean]
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. def nonEmpty: T[Boolean]
  57. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  58. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  59. def registerFunction(functionID: A, function: (A, Option[Deadline]) ⇒ Apply.Set[A]): A
  60. def remove(elems: Iterable[A]): T[Done]
  61. def remove(elems: Stream[A, T]): T[Done]
  62. def remove(elems: A*): T[Done]
  63. def remove(from: A, to: A): T[Done]
  64. def remove(elem: A): T[Done]
  65. def reverse: Set[A, T]
  66. def size: T[Int]
    Definition Classes
    Set → Streamable
  67. def sizeOfBloomFilterEntries: T[Int]
  68. def sizeOfSegments: Long
  69. def stream: Stream[A, T]
  70. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  71. def take(count: Int): Stream[A, T]
    Definition Classes
    Set → Streamable
  72. def takeWhile(f: (A) ⇒ Boolean): Stream[A, T]
    Definition Classes
    Set → Streamable
  73. def timeLeft(elem: A): T[Option[FiniteDuration]]
  74. def toString(): String
    Definition Classes
    Set → AnyRef → Any
  75. def toTag[X[_]](implicit tag: Tag[X]): Set[A, X]
  76. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  78. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Streamable[A, T]

Inherited from AnyRef

Inherited from Any

Ungrouped