Packages

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

    Returns target value for the input key.

    Returns target value for the input key.

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

Inherited from AnyRef

Inherited from Any

Ungrouped