Packages

t

swaydb

MapT

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

Abstract Value Members

  1. abstract def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  2. abstract def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  3. abstract def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    MapTSetMapT
  4. abstract def clearKeyValues(): BAG[OK]
    Definition Classes
    MapTSetMapT
  5. abstract def close(): BAG[Unit]
    Definition Classes
    MapTSetMapT
  6. abstract def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  7. abstract def commit[PF <: F](prepare: Stream[Prepare[K, V, PF], BAG])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  8. abstract def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  9. abstract def contains(key: K): BAG[Boolean]
    Definition Classes
    MapTSetMapT
  10. abstract def delete(): BAG[Unit]
    Definition Classes
    MapTSetMapT
  11. abstract def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MapTSetMapT
  12. abstract def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
  13. abstract def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
  14. abstract def expire(keys: Stream[(K, Deadline), BAG]): BAG[OK]
  15. abstract def expire(keys: (K, Deadline)*): BAG[OK]
  16. abstract def expire(from: K, to: K, at: Deadline): BAG[OK]
  17. abstract def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
  18. abstract def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MapTSetMapT
  19. abstract def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapTSetMapT
  20. 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
  21. 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
  22. abstract def getKeyDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[(K, Option[Deadline])]]
  23. abstract def getKeyDeadline(key: K): BAG[Option[(K, Option[Deadline])]]
  24. abstract def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  25. abstract def getKeyValueDeadline[BAG[_]](key: K, bag: Bag[BAG]): BAG[Option[((K, Option[Deadline]), V)]]
  26. abstract def headOption: BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  27. abstract def headOrNull: BAG[(K, V)]
    Definition Classes
    MapTSetMapT
  28. abstract def isEmpty: BAG[Boolean]
    Definition Classes
    MapTSetMapT
  29. abstract def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    MapTSetMapT
  30. abstract def keySize(key: K): Int
  31. abstract def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    MapTSetMapT
  32. abstract def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MapTSetMapT
  33. abstract def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MapTSetMapT
  34. abstract def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MapTSetMapT
  35. abstract def mightContainFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[Boolean]
  36. abstract def nonEmpty: BAG[Boolean]
    Definition Classes
    MapTSetMapT
  37. abstract def path: Path
    Definition Classes
    MapTSetMapT
  38. abstract def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapTSetMapT
  39. abstract def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapTSetMapT
  40. abstract def put(keyValues: Stream[(K, V), BAG]): BAG[OK]
    Definition Classes
    MapTSetMapT
  41. abstract def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapTSetMapT
  42. abstract def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MapTSetMapT
  43. abstract def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MapTSetMapT
  44. abstract def put(key: K, value: V): BAG[OK]
    Definition Classes
    MapTSetMapT
  45. abstract def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MapTSetMapT
  46. abstract def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MapTSetMapT
  47. abstract def remove(keys: Stream[K, BAG]): BAG[OK]
    Definition Classes
    MapTSetMapT
  48. abstract def remove(keys: K*): BAG[OK]
    Definition Classes
    MapTSetMapT
  49. abstract def remove(from: K, to: K): BAG[OK]
  50. abstract def remove(key: K): BAG[OK]
    Definition Classes
    MapTSetMapT
  51. abstract def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MapTSetMapT
  52. abstract def sizeOfSegments: Long
    Definition Classes
    MapTSetMapT
  53. abstract def stream: Source[K, (K, V), BAG]
    Definition Classes
    MapTSetMapT
  54. abstract def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MapTSetMapT
  55. 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
  56. abstract def update(keyValues: Iterator[(K, V)]): BAG[OK]
  57. abstract def update(keyValues: Iterable[(K, V)]): BAG[OK]
  58. abstract def update(keyValues: Stream[(K, V), BAG]): BAG[OK]
  59. abstract def update(keyValues: (K, V)*): BAG[OK]
  60. abstract def update(from: K, to: K, value: V): BAG[OK]
  61. abstract def update(key: K, value: V): BAG[OK]
  62. 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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): 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[_]
    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( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

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

Inherited from AnyRef

Inherited from Any

Ungrouped