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]
- Alphabetic
- By Inheritance
- MultiMap_EAP
- Serializable
- Product
- Equals
- MapT
- SetMapT
- Sweepable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def after(key: K): MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- 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.
- def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- 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.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala: scala.collection.mutable.Map[K, V]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- implicit val bag: Bag[BAG]
- def before(key: K): MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def clearKeyValues(): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): BAG[Unit]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT → Sweepable
- def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- 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.
- def contains(key: K): BAG[Boolean]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- val defaultExpiration: Option[Deadline]
- def delete(): BAG[Unit]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT → Sweepable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def expiration(key: K): BAG[Option[Deadline]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(keys: Stream[(K, Deadline)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(keys: (K, Deadline)*): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(from: K, to: K, at: Deadline): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def expire(key: K, at: Deadline): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def expire(key: K, after: FiniteDuration): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def from(key: K): MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def fromOrAfter(key: K): MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def fromOrBefore(key: K): MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def get(key: K): BAG[Option[V]]
Returns target value for the input key.
Returns target value for the input key.
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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_EAP → MapT → SetMapT
- def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
- Definition Classes
- MultiMap_EAP → MapT
- def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
- Definition Classes
- MultiMap_EAP → MapT
- def getKeyValue(key: K): BAG[Option[(K, V)]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def headOption: BAG[Option[(K, V)]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def headOrNull: BAG[(K, V)]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def isEmpty: BAG[Boolean]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def keySize(key: K): Int
- Definition Classes
- MultiMap_EAP → MapT
- def lastOption: BAG[Option[(K, V)]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def levelMeter(levelNumber: Int): Option[LevelMeter]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def levelZeroMeter: LevelZeroMeter
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def mightContain(key: K): BAG[Boolean]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
- Definition Classes
- MultiMap_EAP → MapT
- 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.
- 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
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: BAG[Boolean]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def path: Path
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def put(keyValues: Iterator[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(keyValues: Iterable[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(keyValues: Stream[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(keyValues: (K, V)*): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(key: K, value: V, expireAt: Deadline): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(key: K, value: V): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
- Definition Classes
- SetMapT
- def remove(keys: Iterator[K]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def remove(keys: Iterable[K]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def remove(keys: Stream[K]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def remove(keys: K*): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def remove(from: K, to: K): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def remove(key: K): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def reverse: MultiMap_EAP[M, K, V, F, BAG]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- val schema: Schema[M, K, V, F, BAG]
APIs for managing child map of this MultiMap_EAP.
- def sizeOfBloomFilterEntries: BAG[Int]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def sizeOfSegments: Long
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- def stream: Stream[(K, V)]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisMapKey: Iterable[M]
- def timeLeft(key: K): BAG[Option[FiniteDuration]]
- Definition Classes
- MultiMap_EAP → MapT → SetMapT
- 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_EAP → MapT → SetMapT
- def toString(): String
- Definition Classes
- MultiMap_EAP → SetMapT → AnyRef → Any
- 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.
- 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.
- 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.
- def update(keyValues: Iterator[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def update(keyValues: Iterable[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def update(keyValues: Stream[(K, V)]): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def update(keyValues: (K, V)*): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def update(from: K, to: K, value: V): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def update(key: K, value: V): BAG[OK]
- Definition Classes
- MultiMap_EAP → MapT
- def valueSize(value: V): Int
- Definition Classes
- MultiMap_EAP → MapT
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()