Packages

case class SetMap[K, V, BAG[_]] extends Source[K, (K, V), BAG] with SetMapT[K, V, BAG] with Product with Serializable

A SetMap is a simple wrapper around Set to provide Map like API on Set storage format.

SetMap has limited write APIs as compared to swaydb.Map and range & update operations are not supported.

Self Type
SetMap[K, V, BAG]
Linear Supertypes
Serializable, Serializable, Product, Equals, SetMapT[K, V, BAG], Source[K, (K, V), BAG], Stream[(K, V), BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetMap
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SetMapT
  7. Source
  8. Stream
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 after(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    SetMapSetMapT
  7. implicit val bag: Bag[BAG]
    Definition Classes
    Stream
  8. def before(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  9. def clearKeyValues(): BAG[OK]
    Definition Classes
    SetMapSetMapT
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def close(): BAG[Unit]
    Definition Classes
    SetMapSetMapT
  12. def collect[B](pf: PartialFunction[(K, V), B]): Stream[B, BAG]
    Definition Classes
    Stream
  13. def collectFirst[B](pf: PartialFunction[(K, V), B]): BAG[Option[B]]
    Definition Classes
    Stream
  14. def collectFirstOrNull[B](pf: PartialFunction[(K, V), B]): BAG[B]
    Definition Classes
    Stream
  15. def contains(key: K): BAG[Boolean]
    Definition Classes
    SetMapSetMapT
  16. def count: BAG[Int]
    Definition Classes
    Stream
  17. def count(f: ((K, V)) ⇒ Boolean): BAG[Int]
    Definition Classes
    Stream
  18. def delete(): BAG[Unit]
    Definition Classes
    SetMapSetMapT
  19. def drop(count: Int): Stream[(K, V), BAG]
    Definition Classes
    Stream
  20. def dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean
    Definition Classes
    SetMap → Equals → AnyRef → Any
  23. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    SetMapSetMapT
  24. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    SetMapSetMapT
  25. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    SetMapSetMapT
  26. def filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  27. def filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def flatMap[B](f: ((K, V)) ⇒ Stream[B, BAG]): Stream[B, BAG]
    Definition Classes
    Stream
  30. def flatten[B](implicit bag: Bag[BAG], evd: <:<[(K, V), BAG[B]]): Stream[B, BAG]
    Definition Classes
    Stream
  31. def foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): BAG[B]
    Definition Classes
    Stream
  32. def foldLeftFlatten[B](initial: B)(f: (B, (K, V)) ⇒ BAG[B]): BAG[B]
    Definition Classes
    Stream
  33. def foreach(f: ((K, V)) ⇒ Unit): BAG[Unit]
    Definition Classes
    Stream
  34. def from(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  35. def fromOrAfter(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  36. def fromOrBefore(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  37. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    SetMapSetMapT
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def getKey(key: K): BAG[Option[K]]

    Returns target full key for the input partial key.

    Returns target full key for the input partial key.

    This function is mostly used for Set databases where partial ordering on the Key is provided.

    Definition Classes
    SetMapSetMapT
  40. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    SetMapSetMapT
  41. def hashCode(): Int
    Definition Classes
    SetMap → AnyRef → Any
  42. def head: BAG[Option[(K, V)]]
    Definition Classes
    SetMapSetMapT
  43. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    Stream
  44. def isEmpty: BAG[Boolean]
    Definition Classes
    SetMapSetMapT
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    Stream
  47. def keys: Stream[K, BAG]
    Definition Classes
    SetMapSetMapT
  48. def last: BAG[Option[(K, V)]]
    Definition Classes
    SetMapSetMapT
  49. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    Stream
  50. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    SetMapSetMapT
  51. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    SetMapSetMapT
  52. def map[B](f: ((K, V)) ⇒ B): Stream[B, BAG]
    Definition Classes
    Stream
  53. def mapFlatten[B](f: ((K, V)) ⇒ BAG[B]): Stream[B, BAG]
    Definition Classes
    Stream
  54. def materialize: BAG[ListBuffer[(K, V)]]
    Definition Classes
    Stream
  55. def materialize[C[_]](implicit builder: Builder[(K, V), C[(K, V)]]): BAG[C[(K, V)]]
    Definition Classes
    Stream
  56. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    SetMapSetMapT
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def nonEmpty: BAG[Boolean]
    Definition Classes
    SetMapSetMapT
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. def partition(f: ((K, V)) ⇒ Boolean): BAG[(ListBuffer[(K, V)], ListBuffer[(K, V)])]
    Definition Classes
    Stream
  62. def path: Path
    Definition Classes
    SetMapSetMapT
  63. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  64. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  65. def put(keyValues: Stream[(K, V), BAG]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  66. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    SetMapSetMapT
  67. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    SetMapSetMapT
  68. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    SetMapSetMapT
  69. def put(key: K, value: V): BAG[OK]
    Definition Classes
    SetMapSetMapT
  70. def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
    Definition Classes
    SetMapT
  71. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  72. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  73. def remove(keys: Stream[K, BAG]): BAG[OK]
    Definition Classes
    SetMapSetMapT
  74. def remove(keys: K*): BAG[OK]
    Definition Classes
    SetMapSetMapT
  75. def remove(key: K): BAG[OK]
    Definition Classes
    SetMapSetMapT
  76. def reverse: Source[K, (K, V), BAG]
    Definition Classes
    Source
  77. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    SetMapSetMapT
  78. def sizeOfSegments: Long
    Definition Classes
    SetMapSetMapT
  79. def stream: Source[K, (K, V), BAG]
    Definition Classes
    Source
  80. def streamer: Streamer[(K, V), BAG]
    Definition Classes
    Stream
  81. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  82. def take(count: Int): Stream[(K, V), BAG]
    Definition Classes
    Stream
  83. def takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  84. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    SetMapSetMapT
  85. def toBag[X[_]](implicit bag: Bag[X]): SetMap[K, V, X]

    Returns an Async API of type O where the Bag is known.

    Returns an Async API of type O where the Bag is known.

    Definition Classes
    SetMapSetMapT
  86. def toString(): String
    Definition Classes
    SetMap → AnyRef → Any
  87. def values: Stream[V, BAG]
    Definition Classes
    SetMapSetMapT
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. 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 SetMapT[K, V, BAG]

Inherited from Source[K, (K, V), BAG]

Inherited from Stream[(K, V), BAG]

Inherited from AnyRef

Inherited from Any

Ungrouped