trait MapT[K, V, F, BAG[_]] extends Sweepable[BAG] with SetMapT[K, V, F, BAG]
Base trait for a basic SwayDB Map type.
- Self Type
- MapT[K, V, F, BAG]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MapT
- SetMapT
- Sweepable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def after(key: K): MapT[K, V, F, BAG]
- abstract def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- abstract def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- abstract def asScala: scala.collection.mutable.Map[K, V]
- abstract def before(key: K): MapT[K, V, F, BAG]
- abstract def clearKeyValues(): BAG[OK]
- abstract def close(): BAG[Unit]
- abstract def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- abstract def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- abstract def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
- abstract def contains(key: K): BAG[Boolean]
- abstract def delete(): BAG[Unit]
- abstract def expiration(key: K): BAG[Option[Deadline]]
- abstract def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
- abstract def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
- abstract def expire(keys: Stream[(K, Deadline)]): BAG[OK]
- abstract def expire(keys: (K, Deadline)*): BAG[OK]
- abstract def expire(from: K, to: K, at: Deadline): BAG[OK]
- abstract def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
- abstract def expire(key: K, at: Deadline): BAG[OK]
- abstract def expire(key: K, after: FiniteDuration): BAG[OK]
- abstract def from(key: K): MapT[K, V, F, BAG]
- abstract def fromOrAfter(key: K): MapT[K, V, F, BAG]
- abstract def fromOrBefore(key: K): MapT[K, V, F, BAG]
- abstract def get(key: K): BAG[Option[V]]
Returns target value for the input key.
- abstract def getKey(key: K): BAG[Option[K]]
Returns target full key for the input partial key.
- abstract def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
- abstract def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
- abstract def getKeyValue(key: K): BAG[Option[(K, V)]]
- abstract def headOption: BAG[Option[(K, V)]]
- abstract def headOrNull: BAG[(K, V)]
- abstract def isEmpty: BAG[Boolean]
- abstract def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
- abstract def keySize(key: K): Int
- abstract def lastOption: BAG[Option[(K, V)]]
- abstract def levelMeter(levelNumber: Int): Option[LevelMeter]
- abstract def levelZeroMeter: LevelZeroMeter
- abstract def mightContain(key: K): BAG[Boolean]
- abstract def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
- abstract def nonEmpty: BAG[Boolean]
- abstract def path: Path
- abstract def put(keyValues: Iterator[(K, V)]): BAG[OK]
- abstract def put(keyValues: Iterable[(K, V)]): BAG[OK]
- abstract def put(keyValues: Stream[(K, V)]): BAG[OK]
- abstract def put(keyValues: (K, V)*): BAG[OK]
- abstract def put(key: K, value: V, expireAt: Deadline): BAG[OK]
- abstract def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
- abstract def put(key: K, value: V): BAG[OK]
- abstract def remove(keys: Iterator[K]): BAG[OK]
- abstract def remove(keys: Iterable[K]): BAG[OK]
- abstract def remove(keys: Stream[K]): BAG[OK]
- abstract def remove(keys: K*): BAG[OK]
- abstract def remove(from: K, to: K): BAG[OK]
- abstract def remove(key: K): BAG[OK]
- abstract def reverse: MapT[K, V, F, BAG]
- abstract def sizeOfBloomFilterEntries: BAG[Int]
- abstract def sizeOfSegments: Long
- abstract def stream: Stream[(K, V)]
- abstract def timeLeft(key: K): BAG[Option[FiniteDuration]]
- abstract def toBag[X[_]](implicit bag: Bag[X]): MapT[K, V, F, X]
Returns an Async API of type O where the Bag is known.
- abstract def update(keyValues: Iterator[(K, V)]): BAG[OK]
- abstract def update(keyValues: Iterable[(K, V)]): BAG[OK]
- abstract def update(keyValues: Stream[(K, V)]): BAG[OK]
- abstract def update(keyValues: (K, V)*): BAG[OK]
- abstract def update(from: K, to: K, value: V): BAG[OK]
- abstract def update(key: K, value: V): BAG[OK]
- abstract def valueSize(value: V): Int
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
- Definition Classes
- SetMapT
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- SetMapT → AnyRef → Any
- 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()