Packages

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

A SetMap is simply a wrapper around Set to provide Map like API on Set storage format.

SetMap has limited write APIs as compared to swaydb.Map range & update operations are not supported.

Self Type
SetMap[K, V, F, BAG]
Linear Supertypes
Serializable, Product, Equals, SwayMap[K, V, F, BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetMap
  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): SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def asScala: scala.collection.mutable.Map[K, V]
    Definition Classes
    SetMapSwayMap
  7. def before(key: K): SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  8. def clear(): BAG[OK]
    Definition Classes
    SetMapSwayMap
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def close(): BAG[Unit]
    Definition Classes
    SetMapSwayMap
  11. def contains(key: K): BAG[Boolean]
    Definition Classes
    SetMapSwayMap
  12. def delete(): BAG[Unit]
    Definition Classes
    SetMapSwayMap
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def expiration(key: K): BAG[Option[Deadline]]
    Definition Classes
    SetMapSwayMap
  15. def expire(key: K, at: Deadline): BAG[OK]
    Definition Classes
    SetMapSwayMap
  16. def expire(key: K, after: FiniteDuration): BAG[OK]
    Definition Classes
    SetMapSwayMap
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def from(key: K): SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  19. def fromOrAfter(key: K): SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  20. def fromOrBefore(key: K): SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  21. def get(key: K): BAG[Option[V]]

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    SetMapSwayMap
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. 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
    SetMapSwayMap
  24. def getKeyValue(key: K): BAG[Option[(K, V)]]
    Definition Classes
    SetMapSwayMap
  25. def headOption: BAG[Option[(K, V)]]
    Definition Classes
    SetMapSwayMap
  26. def headOrNull: BAG[(K, V)]
    Definition Classes
    SetMapSwayMap
  27. def isEmpty: BAG[Boolean]
    Definition Classes
    SetMapSwayMap
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]
    Definition Classes
    SetMapSwayMap
  30. def lastOption: BAG[Option[(K, V)]]
    Definition Classes
    SetMapSwayMap
  31. def levelMeter(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    SetMapSwayMap
  32. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    SetMapSwayMap
  33. def mightContain(key: K): BAG[Boolean]
    Definition Classes
    SetMapSwayMap
  34. def mightContainFunction(functionId: K): BAG[Boolean]
    Definition Classes
    SetMapSwayMap
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def nonEmpty: BAG[Boolean]
    Definition Classes
    SetMapSwayMap
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def path: Path
    Definition Classes
    SetMapSwayMap
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. def put(keyValues: Iterator[(K, V)]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  42. def put(keyValues: Iterable[(K, V)]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  43. def put(keyValues: Stream[(K, V)]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  44. def put(keyValues: (K, V)*): BAG[OK]
    Definition Classes
    SetMapSwayMap
  45. def put(key: K, value: V, expireAt: Deadline): BAG[OK]
    Definition Classes
    SetMapSwayMap
  46. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]
    Definition Classes
    SetMapSwayMap
  47. def put(key: K, value: V): BAG[OK]
    Definition Classes
    SetMapSwayMap
  48. def remove(keys: Iterator[K]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  49. def remove(keys: Iterable[K]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  50. def remove(keys: Stream[K]): BAG[OK]
    Definition Classes
    SetMapSwayMap
  51. def remove(keys: K*): BAG[OK]
    Definition Classes
    SetMapSwayMap
  52. def remove(key: K): BAG[OK]
    Definition Classes
    SetMapSwayMap
  53. def reverse: SetMap[K, V, F, BAG]
    Definition Classes
    SetMapSwayMap
  54. val set: Set[(K, V), F, BAG]
  55. def sizeOfBloomFilterEntries: BAG[Int]
    Definition Classes
    SetMapSwayMap
  56. def sizeOfSegments: Long
    Definition Classes
    SetMapSwayMap
  57. def stream: Stream[(K, V)]
    Definition Classes
    SetMapSwayMap
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def timeLeft(key: K): BAG[Option[FiniteDuration]]
    Definition Classes
    SetMapSwayMap
  60. def toBag[X[_]](implicit bag: Bag[X]): SetMap[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
    SetMapSwayMap
  61. def toString(): String
    Definition Classes
    SetMapSwayMap → AnyRef → Any
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. 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