Packages

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
SetMapT[K, V, F, BAG], Sweepable[BAG], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapT
  2. SetMapT
  3. Sweepable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def after(key: K): MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  2. abstract def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  3. abstract def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  4. abstract def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    MapTSetMapT
  5. abstract def before(key: K): MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  6. abstract def clearKeyValues(): BAG[OK]
    Definition Classes
    MapTSetMapT
  7. abstract def close(): BAG[Unit]
    Definition Classes
    MapTSetMapT → Sweepable
  8. abstract def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  9. abstract def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  10. abstract def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  11. abstract def contains(key: K): BAG[Boolean]
    Definition Classes
    MapTSetMapT
  12. abstract def delete(): BAG[Unit]
    Definition Classes
    MapTSetMapT → Sweepable
  13. abstract def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MapTSetMapT
  14. abstract def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
  15. abstract def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
  16. abstract def expire(keys: Stream[(K, Deadline)]): BAG[OK]
  17. abstract def expire(keys: (K, Deadline)*): BAG[OK]
  18. abstract def expire(from: K, to: K, at: Deadline): BAG[OK]
  19. abstract def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
  20. abstract def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MapTSetMapT
  21. abstract def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapTSetMapT
  22. abstract def from(key: K): MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  23. abstract def fromOrAfter(key: K): MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  24. abstract def fromOrBefore(key: K): MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  25. abstract def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    MapTSetMapT
  26. abstract 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
    MapTSetMapT
  27. abstract def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
  28. abstract def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
  29. abstract def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  30. abstract def headOption: BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  31. abstract def headOrNull: BAG[(K, V)]
    Definition Classes
    MapTSetMapT
  32. abstract def isEmpty: BAG[Boolean]
    Definition Classes
    MapTSetMapT
  33. abstract def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    MapTSetMapT
  34. abstract def keySize(key: K): Int
  35. abstract def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  36. abstract def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MapTSetMapT
  37. abstract def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MapTSetMapT
  38. abstract def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MapTSetMapT
  39. abstract def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
  40. abstract def nonEmpty: BAG[Boolean]
    Definition Classes
    MapTSetMapT
  41. abstract def path: Path
    Definition Classes
    MapTSetMapT
  42. abstract def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapTSetMapT
  43. abstract def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapTSetMapT
  44. abstract def put(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MapTSetMapT
  45. abstract def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapTSetMapT
  46. abstract def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MapTSetMapT
  47. abstract def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MapTSetMapT
  48. abstract def put(key: K, value: V): BAG[OK]
    Definition Classes
    MapTSetMapT
  49. abstract def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MapTSetMapT
  50. abstract def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MapTSetMapT
  51. abstract def remove(keys: Stream[K]): BAG[OK]
    Definition Classes
    MapTSetMapT
  52. abstract def remove(keys: K*): BAG[OK]
    Definition Classes
    MapTSetMapT
  53. abstract def remove(from: K, to: K): BAG[OK]
  54. abstract def remove(key: K): BAG[OK]
    Definition Classes
    MapTSetMapT
  55. abstract def reverse: MapT[K, V, F, BAG]
    Definition Classes
    MapTSetMapT
  56. abstract def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MapTSetMapT
  57. abstract def sizeOfSegments: Long
    Definition Classes
    MapTSetMapT
  58. abstract def stream: Stream[(K, V)]
    Definition Classes
    MapTSetMapT
  59. abstract def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MapTSetMapT
  60. 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.

    Returns an Async API of type O where the Bag is known.

    Definition Classes
    MapTSetMapT
  61. abstract def update(keyValues: Iterator[(K, V)]): BAG[OK]
  62. abstract def update(keyValues: Iterable[(K, V)]): BAG[OK]
  63. abstract def update(keyValues: Stream[(K, V)]): BAG[OK]
  64. abstract def update(keyValues: (K, V)*): BAG[OK]
  65. abstract def update(from: K, to: K, value: V): BAG[OK]
  66. abstract def update(key: K, value: V): BAG[OK]
  67. abstract def valueSize(value: V): Int

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def put(key: K, value: V, expireAt: Option[Deadline]): BAG[OK]
    Definition Classes
    SetMapT
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    SetMapT → AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

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

Inherited from Sweepable[BAG]

Inherited from AnyRef

Inherited from Any

Ungrouped