Packages

case class Map[K, V, F, BAG[_]] extends Source[K, (K, V), BAG] with MapT[K, V, F, BAG] with Product with Serializable

Map database API.

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

Self Type
Map[K, V, F, BAG]
Linear Supertypes
Serializable, Serializable, Product, Equals, MapT[K, V, F, BAG], SetMapT[K, V, BAG], Source[K, (K, V), BAG], Stream[(K, V), BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MapT
  7. SetMapT
  8. Source
  9. Stream
  10. AnyRef
  11. 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. def applyFunction(from: K, to: K, function: F)(implicit evd: <:<[F, PureFunction.Map[K, V]]): BAG[OK]
    Definition Classes
    MapMapT
  6. def applyFunction(key: K, function: F)(implicit evd: <:<[F, PureFunction.Map[K, V]]): BAG[OK]
    Definition Classes
    MapMapT
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    MapSetMapT
  9. implicit val bag: Bag[BAG]
    Definition Classes
    Map → Stream
  10. def before(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  11. def clearAppliedAndRegisteredFunctions(): BAG[Iterable[String]]
    Definition Classes
    MapMapT
  12. def clearAppliedFunctions(): BAG[Iterable[String]]
    Definition Classes
    MapMapT
  13. def clearKeyValues(): BAG[OK]
    Definition Classes
    MapSetMapT
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. def close(): BAG[Unit]
    Definition Classes
    MapSetMapT
  16. def collect[B](pf: PartialFunction[(K, V), B]): Stream[B, BAG]
    Definition Classes
    Stream
  17. def collectFirst[B](pf: PartialFunction[(K, V), B]): BAG[Option[B]]
    Definition Classes
    Stream
  18. def collectFirstOrNull[B](pf: PartialFunction[(K, V), B]): BAG[B]
    Definition Classes
    Stream
  19. def commit(prepare: Iterator[Prepare[K, V, F]]): BAG[OK]
    Definition Classes
    MapMapT
  20. def commit(prepare: Iterable[Prepare[K, V, F]]): BAG[OK]
    Definition Classes
    MapMapT
  21. def commit(prepare: Stream[Prepare[K, V, F], BAG]): BAG[OK]
    Definition Classes
    MapMapT
  22. def commit(prepare: Prepare[K, V, F]*): BAG[OK]
    Definition Classes
    MapMapT
  23. def contains(key: K): BAG[Boolean]
    Definition Classes
    MapSetMapT
  24. def count: BAG[Int]
    Definition Classes
    Stream
  25. def count(f: ((K, V)) ⇒ Boolean): BAG[Int]
    Definition Classes
    Stream
  26. def delete(): BAG[Unit]
    Definition Classes
    MapSetMapT
  27. def drop(count: Int): Stream[(K, V), BAG]
    Definition Classes
    Stream
  28. def dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(other: Any): Boolean
    Definition Classes
    Map → Equals → AnyRef → Any
  31. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MapSetMapT
  32. def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
    Definition Classes
    MapMapT
  33. def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
    Definition Classes
    MapMapT
  34. def expire(keys: Stream[(K, Deadline), BAG]): BAG[OK]
    Definition Classes
    MapMapT
  35. def expire(keys: (K, Deadline)*): BAG[OK]
    Definition Classes
    MapMapT
  36. def expire(from: K, to: K, at: Deadline): BAG[OK]
    Definition Classes
    MapMapT
  37. def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapMapT
  38. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MapSetMapT
  39. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapSetMapT
  40. def filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  41. def filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  42. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. def flatMap[B](f: ((K, V)) ⇒ Stream[B, BAG]): Stream[B, BAG]
    Definition Classes
    Stream
  44. def flatten[B](implicit bag: Bag[BAG], evd: <:<[(K, V), BAG[B]]): Stream[B, BAG]
    Definition Classes
    Stream
  45. def foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): BAG[B]
    Definition Classes
    Stream
  46. def foldLeftFlatten[B](initial: B)(f: (B, (K, V)) ⇒ BAG[B]): BAG[B]
    Definition Classes
    Stream
  47. def foreach(f: ((K, V)) ⇒ Unit): BAG[Unit]
    Definition Classes
    Stream
  48. def from(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  49. def fromOrAfter(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  50. def fromOrBefore(key: K): Source[K, (K, V), BAG]
    Definition Classes
    Source
  51. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    MapSetMapT
  52. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  53. 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
    MapSetMapT
  54. def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MapMapT
  55. def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MapMapT
  56. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MapSetMapT
  57. def getKeyValueDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[((K, V), Option[Deadline])]]
    Definition Classes
    MapMapT
  58. def hashCode(): Int
    Definition Classes
    Map → AnyRef → Any
  59. def head: BAG[Option[(K, V)]]
    Definition Classes
    MapSetMapT
  60. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    Stream
  61. def isEmpty: BAG[Boolean]
    Definition Classes
    MapSetMapT
  62. def isFunctionApplied(function: F)(implicit evd: <:<[F, PureFunction.Map[K, V]]): Boolean
    Definition Classes
    MapMapT
  63. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  64. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    Stream
  65. implicit val keySerializer: Serializer[K]
  66. def keySize(key: K): Int
    Definition Classes
    MapMapT
  67. def keys: Stream[K, BAG]
    Definition Classes
    MapSetMapT
  68. def last: BAG[Option[(K, V)]]
    Definition Classes
    MapSetMapT
  69. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    Stream
  70. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MapSetMapT
  71. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MapSetMapT
  72. def map[B](f: ((K, V)) ⇒ B): Stream[B, BAG]
    Definition Classes
    Stream
  73. def mapFlatten[B](f: ((K, V)) ⇒ BAG[B]): Stream[B, BAG]
    Definition Classes
    Stream
  74. def materialize: BAG[ListBuffer[(K, V)]]
    Definition Classes
    Stream
  75. def materialize[C[_]](implicit builder: Builder[(K, V), C[(K, V)]]): BAG[C[(K, V)]]
    Definition Classes
    Stream
  76. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MapSetMapT
  77. def mightContainFunction(function: F)(implicit evd: <:<[F, PureFunction.Map[K, V]]): BAG[Boolean]
    Definition Classes
    MapMapT
  78. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  79. def nonEmpty: BAG[Boolean]
    Definition Classes
    MapSetMapT
  80. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  81. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  82. def partition(f: ((K, V)) ⇒ Boolean): BAG[(ListBuffer[(K, V)], ListBuffer[(K, V)])]
    Definition Classes
    Stream
  83. def path: Path
    Definition Classes
    MapSetMapT
  84. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapSetMapT
  85. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapSetMapT
  86. def put(keyValues: Stream[(K, V), BAG]): BAG[OK]
    Definition Classes
    MapSetMapT
  87. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapSetMapT
  88. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MapSetMapT
  89. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MapSetMapT
  90. def put(key: K, value: V): BAG[OK]
    Definition Classes
    MapSetMapT
  91. def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
    Definition Classes
    SetMapT
  92. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MapSetMapT
  93. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MapSetMapT
  94. def remove(keys: Stream[K, BAG]): BAG[OK]
    Definition Classes
    MapSetMapT
  95. def remove(keys: K*): BAG[OK]
    Definition Classes
    MapSetMapT
  96. def remove(from: K, to: K): BAG[OK]
    Definition Classes
    MapMapT
  97. def remove(key: K): BAG[OK]
    Definition Classes
    MapSetMapT
  98. def reverse: Source[K, (K, V), BAG]
    Definition Classes
    Source
  99. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MapSetMapT
  100. def sizeOfSegments: Long
    Definition Classes
    MapSetMapT
  101. def stream: Source[K, (K, V), BAG]
    Definition Classes
    Source
  102. def streamer: Streamer[(K, V), BAG]
    Definition Classes
    Stream
  103. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  104. def take(count: Int): Stream[(K, V), BAG]
    Definition Classes
    Stream
  105. def takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), BAG]
    Definition Classes
    Stream
  106. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MapSetMapT
  107. def toBag[X[_]](implicit bag: Bag[X]): Map[K, V, F, 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
    MapSetMapT
  108. def toSet: Set[K, Nothing, BAG]
  109. def toString(): String
    Definition Classes
    Map → AnyRef → Any
  110. def update(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapMapT
  111. def update(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapMapT
  112. def update(keyValues: Stream[(K, V), BAG]): BAG[OK]
    Definition Classes
    MapMapT
  113. def update(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapMapT
  114. def update(from: K, to: K, value: V): BAG[OK]
    Definition Classes
    MapMapT
  115. def update(key: K, value: V): BAG[OK]
    Definition Classes
    MapMapT
  116. implicit val valueSerializer: Serializer[V]
  117. def valueSize(value: V): Int
    Definition Classes
    MapMapT
  118. def values: Stream[V, BAG]
    Definition Classes
    MapSetMapT
  119. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  120. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. 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 MapT[K, V, F, BAG]

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