Packages

case class MultiMap_EAP[M, K, V, F, BAG[_]] extends Sweepable[BAG] with MapT[K, V, F, BAG] with Product with Serializable

MultiMap_EAP extends swaydb.Map's API to allow storing multiple Maps withing a single Map.

MultiMap_EAP is just a simple extension that uses custom data types (MultiMapKey) and KeyOrder (MultiMapKey.ordering) for it's API.

Self Type
MultiMap_EAP[M, 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. MultiMap_EAP
  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): MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  5. def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]

    Definition Classes
    MultiMap_EAPMapT
    Note

    In other operations like expire, remove, put the input expiration value is compared with defaultExpiration to get the nearest expiration. But functions does not check if the custom logic within the function expires key-values earlier than defaultExpiration.

  6. def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]

    Definition Classes
    MultiMap_EAPMapT
    Note

    In other operations like expire, remove, put the input expiration value is compared with defaultExpiration to get the nearest expiration. But functions does not check if the custom logic within the function expires key-values earlier than defaultExpiration.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  9. implicit val bag: Bag[BAG]
  10. def before(key: K): MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  11. def clearKeyValues(): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def close(): BAG[Unit]
    Definition Classes
    MultiMap_EAPMapTSetMapT → 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
    MultiMap_EAPMapT
  15. def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  16. def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  17. def commit[M2, K2, V2, PF <: F](transaction: Iterable[Transaction[M, K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]], evT: <:<[M2, M], evK: <:<[K2, K], evV: <:<[V2, V]): BAG[OK]

    Commits transaction to global map.

  18. def contains(key: K): BAG[Boolean]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  19. val defaultExpiration: Option[Deadline]
  20. def delete(): BAG[Unit]
    Definition Classes
    MultiMap_EAPMapTSetMapT → Sweepable
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  23. def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  24. def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  25. def expire(keys: Stream[(K, Deadline)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  26. def expire(keys: (K, Deadline)*): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  27. def expire(from: K, to: K, at: Deadline): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  28. def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  29. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  30. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  32. def from(key: K): MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  33. def fromOrAfter(key: K): MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  34. def fromOrBefore(key: K): MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  35. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    MultiMap_EAPMapTSetMapT
  36. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. 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
    MultiMap_EAPMapTSetMapT
  38. def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MultiMap_EAPMapT
  39. def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
    Definition Classes
    MultiMap_EAPMapT
  40. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  41. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  42. def headOrNull: BAG[(K, V)]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  43. def isEmpty: BAG[Boolean]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  46. def keySize(key: K): Int
    Definition Classes
    MultiMap_EAPMapT
  47. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  48. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  49. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MultiMap_EAPMapTSetMapT
  50. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  51. def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
    Definition Classes
    MultiMap_EAPMapT
  52. def narrow[M2, K2, V2, F2](mapKey: Class[M2], keyType: Class[K2], valueType: Class[V2], functionType: Class[F2])(implicit evT: <:<[M2, M], evK: <:<[K2, K], evV: <:<[V2, V], evF: <:<[F2, F]): MultiMap_EAP[M2, K2, V2, F2, BAG]

    Narrows this MultiMap_EAP's map key type M, key-value key type K, value type V and function type F.

  53. def narrow[M2, K2, V2](mapKey: Class[M2], keyType: Class[K2], valueType: Class[V2])(implicit evT: <:<[M2, M], evK: <:<[K2, K], evV: <:<[V2, V]): MultiMap_EAP[M2, K2, V2, F, BAG]

    Narrows this MultiMap_EAP's map key type M, key-value key type K and value type V

  54. def narrow[M2, K2](mapKey: Class[M2], keyType: Class[K2])(implicit evT: <:<[M2, M], evK: <:<[K2, K]): MultiMap_EAP[M2, K2, V, F, BAG]

    Narrows this MultiMap_EAP's map key type M and key-value key type K

  55. def narrow[M2](mapKey: Class[M2])(implicit evT: <:<[M2, M]): MultiMap_EAP[M2, K, V, F, BAG]

    Narrows this MultiMap_EAP's map key type M

  56. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. def nonEmpty: BAG[Boolean]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. def path: Path
    Definition Classes
    MultiMap_EAPMapTSetMapT
  61. def productElementNames: Iterator[String]
    Definition Classes
    Product
  62. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  63. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  64. def put(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  65. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  66. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  67. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  68. def put(key: K, value: V): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  69. def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
    Definition Classes
    SetMapT
  70. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  71. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  72. def remove(keys: Stream[K]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  73. def remove(keys: K*): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  74. def remove(from: K, to: K): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  75. def remove(key: K): BAG[OK]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  76. def reverse: MultiMap_EAP[M, K, V, F, BAG]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  77. val schema: Schema[M, K, V, F, BAG]

    APIs for managing child map of this MultiMap_EAP.

  78. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  79. def sizeOfSegments: Long
    Definition Classes
    MultiMap_EAPMapTSetMapT
  80. def stream: Stream[(K, V)]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. val thisMapKey: Iterable[M]
  83. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MultiMap_EAPMapTSetMapT
  84. def toBag[X[_]](implicit bag: Bag[X]): MultiMap_EAP[M, 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
    MultiMap_EAPMapTSetMapT
  85. def toString(): String
    Definition Classes
    MultiMap_EAPSetMapT → AnyRef → Any
  86. def toTransaction[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): Iterable[Transaction[M, K, V, PF]]

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    See also

    MultiMap_EAP.commit to commit Transactions.

  87. def toTransaction[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Iterable[Transaction[M, K, V, PF]]]

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    See also

    MultiMap_EAP.commit to commit Transactions.

  88. def toTransaction[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): Seq[Transaction[M, K, V, PF]]

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    Converts Prepare statement for this map into Prepare statement for this Map's parent Map so that multiple MultiMap_EAP Prepare statements can be executed as a single transaction.

    See also

    MultiMap_EAP.commit to commit Transactions.

  89. def update(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  90. def update(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  91. def update(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  92. def update(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  93. def update(from: K, to: K, value: V): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  94. def update(key: K, value: V): BAG[OK]
    Definition Classes
    MultiMap_EAPMapT
  95. def valueSize(value: V): Int
    Definition Classes
    MultiMap_EAPMapT
  96. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  97. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  98. 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