Packages

case class Map[K, V, F, BAG[_]] extends Sweepable[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, Product, Equals, MapT[K, V, F, BAG], SetMapT[K, V, F, BAG], Sweepable[BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. Serializable
  3. Product
  4. Equals
  5. MapT
  6. SetMapT
  7. Sweepable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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): Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  5. def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MapMapT
  6. def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[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
    MapMapTSetMapT
  9. implicit val bag: Bag[BAG]
  10. def before(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  11. def clearKeyValues(): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def close(): BAG[Unit]
    Definition Classes
    MapMapTSetMapT → Sweepable
  14. def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MapMapT
  15. def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MapMapT
  16. def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MapMapT
  17. def contains(key: K): BAG[Boolean]
    Definition Classes
    MapMapTSetMapT
  18. def delete(): BAG[Unit]
    Definition Classes
    MapMapTSetMapT → Sweepable
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MapMapTSetMapT
  21. def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
    Definition Classes
    MapMapT
  22. def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
    Definition Classes
    MapMapT
  23. def expire(keys: Stream[(K, Deadline)]): BAG[OK]
    Definition Classes
    MapMapT
  24. def expire(keys: (K, Deadline)*): BAG[OK]
    Definition Classes
    MapMapT
  25. def expire(from: K, to: K, at: Deadline): BAG[OK]
    Definition Classes
    MapMapT
  26. def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapMapT
  27. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  28. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  30. def from(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  31. def fromOrAfter(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  32. def fromOrBefore(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  33. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    MapMapTSetMapT
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. 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
    MapMapTSetMapT
  36. def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MapMapT
  37. def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MapMapT
  38. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MapMapTSetMapT
  39. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    MapMapTSetMapT
  40. def headOrNull: BAG[(K, V)]
    Definition Classes
    MapMapTSetMapT
  41. def isEmpty: BAG[Boolean]
    Definition Classes
    MapMapTSetMapT
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    MapMapTSetMapT
  44. implicit val keySerializer: Serializer[K]
  45. def keySize(key: K): Int
    Definition Classes
    MapMapT
  46. def keys: Set[K, F, BAG]
  47. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    MapMapTSetMapT
  48. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MapMapTSetMapT
  49. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MapMapTSetMapT
  50. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MapMapTSetMapT
  51. def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
    Definition Classes
    MapMapT
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. def nonEmpty: BAG[Boolean]
    Definition Classes
    MapMapTSetMapT
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. def path: Path
    Definition Classes
    MapMapTSetMapT
  57. def productElementNames: Iterator[String]
    Definition Classes
    Product
  58. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  59. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  60. def put(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  61. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  62. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  63. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  64. def put(key: K, value: V): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  65. def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
    Definition Classes
    SetMapT
  66. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  67. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  68. def remove(keys: Stream[K]): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  69. def remove(keys: K*): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  70. def remove(from: K, to: K): BAG[OK]
    Definition Classes
    MapMapT
  71. def remove(key: K): BAG[OK]
    Definition Classes
    MapMapTSetMapT
  72. def reverse: Map[K, V, F, BAG]
    Definition Classes
    MapMapTSetMapT
  73. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MapMapTSetMapT
  74. def sizeOfSegments: Long
    Definition Classes
    MapMapTSetMapT
  75. def stream: Stream[(K, V)]
    Definition Classes
    MapMapTSetMapT
  76. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  77. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MapMapTSetMapT
  78. 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
    MapMapTSetMapT
  79. def toString(): String
    Definition Classes
    MapSetMapT → AnyRef → Any
  80. def update(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapMapT
  81. def update(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapMapT
  82. def update(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MapMapT
  83. def update(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapMapT
  84. def update(from: K, to: K, value: V): BAG[OK]
    Definition Classes
    MapMapT
  85. def update(key: K, value: V): BAG[OK]
    Definition Classes
    MapMapT
  86. implicit val valueSerializer: Serializer[V]
  87. def valueSize(value: V): Int
    Definition Classes
    MapMapT
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MapT[K, V, F, BAG]

Inherited from SetMapT[K, V, F, BAG]

Inherited from Sweepable[BAG]

Inherited from AnyRef

Inherited from Any

Ungrouped