Packages

case class Map[K, V, F, BAG[_]] extends SwayMap[K, V, F, BAG] with Product with Serializable

Map database API.

For documentation check - http://swaydb.io/bag/

Self Type
Map[K, V, F, BAG]
Linear Supertypes
Serializable, Product, Equals, SwayMap[K, V, F, BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. Serializable
  3. Product
  4. Equals
  5. SwayMap
  6. AnyRef
  7. 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): Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  5. def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  6. def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    MapSwayMap
  9. def before(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  10. def clear(): BAG[OK]
    Definition Classes
    MapSwayMap
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def close(): BAG[Unit]
    Definition Classes
    MapSwayMap
  13. def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  14. def commit[PF <: F](prepare: Stream[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  15. def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): BAG[OK]
  16. def contains(key: K): BAG[Boolean]
    Definition Classes
    MapSwayMap
  17. def delete(): BAG[Unit]
    Definition Classes
    MapSwayMap
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    MapSwayMap
  20. def expire(keys: Iterator[(K, Deadline)]): BAG[OK]
  21. def expire(keys: Iterable[(K, Deadline)]): BAG[OK]
  22. def expire(keys: Stream[(K, Deadline)]): BAG[OK]
  23. def expire(keys: (K, Deadline)*): BAG[OK]
  24. def expire(from: K, to: K, at: Deadline): BAG[OK]
  25. def expire(from: K, to: K, after: FiniteDuration): BAG[OK]
  26. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    MapSwayMap
  27. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    MapSwayMap
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  29. def from(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  30. def fromOrAfter(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  31. def fromOrBefore(key: K): Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  32. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    MapSwayMap
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. 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
    MapSwayMap
  35. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    MapSwayMap
  36. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    MapSwayMap
  37. def headOrNull: BAG[(K, V)]
    Definition Classes
    MapSwayMap
  38. def isEmpty: BAG[Boolean]
    Definition Classes
    MapSwayMap
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    MapSwayMap
  41. def keySize(key: K): Int
  42. def keys: Set[K, F, BAG]
  43. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    MapSwayMap
  44. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    MapSwayMap
  45. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MapSwayMap
  46. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    MapSwayMap
  47. def mightContainFunction(functionId: K): BAG[Boolean]
    Definition Classes
    MapSwayMap
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. def nonEmpty: BAG[Boolean]
    Definition Classes
    MapSwayMap
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. def path: Path
    Definition Classes
    MapSwayMap
  53. def productElementNames: Iterator[String]
    Definition Classes
    Product
  54. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    MapSwayMap
  55. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    MapSwayMap
  56. def put(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    MapSwayMap
  57. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    MapSwayMap
  58. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    MapSwayMap
  59. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    MapSwayMap
  60. def put(key: K, value: V): BAG[OK]
    Definition Classes
    MapSwayMap
  61. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    MapSwayMap
  62. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    MapSwayMap
  63. def remove(keys: Stream[K]): BAG[OK]
    Definition Classes
    MapSwayMap
  64. def remove(keys: K*): BAG[OK]
    Definition Classes
    MapSwayMap
  65. def remove(from: K, to: K): BAG[OK]
  66. def remove(key: K): BAG[OK]
    Definition Classes
    MapSwayMap
  67. def reverse: Map[K, V, F, BAG]
    Definition Classes
    MapSwayMap
  68. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    MapSwayMap
  69. def sizeOfSegments: Long
    Definition Classes
    MapSwayMap
  70. def stream: Stream[(K, V)]
    Definition Classes
    MapSwayMap
  71. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  72. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    MapSwayMap
  73. def toBag[X[_]](implicit bag: Bag[X]): Map[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
    MapSwayMap
  74. def toString(): String
    Definition Classes
    MapSwayMap → AnyRef → Any
  75. def update(keyValues: Iterator[(K, V)]): BAG[OK]
  76. def update(keyValues: Iterable[(K, V)]): BAG[OK]
  77. def update(keyValues: Stream[(K, V)]): BAG[OK]
  78. def update(keyValues: (K, V)*): BAG[OK]
  79. def update(from: K, to: K, value: V): BAG[OK]
  80. def update(key: K, value: V): BAG[OK]
  81. def valueSize(value: V): Int
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. 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 SwayMap[K, V, F, BAG]

Inherited from AnyRef

Inherited from Any

Ungrouped