Class/Object

swaydb

SetMap

Related Docs: object SetMap | package swaydb

Permalink

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, Serializable, Product, Equals, SwayMap[K, V, F, BAG], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetMap
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SwayMap
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after(key: K): SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asScala: scala.collection.mutable.Map[K, V]

    Permalink
    Definition Classes
    SetMapSwayMap
  7. def before(key: K): SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  8. def clear(): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): BAG[Unit]

    Permalink
    Definition Classes
    SetMapSwayMap
  11. def contains(key: K): BAG[Boolean]

    Permalink
    Definition Classes
    SetMapSwayMap
  12. def delete(): BAG[Unit]

    Permalink
    Definition Classes
    SetMapSwayMap
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def expiration(key: K): BAG[Option[Deadline]]

    Permalink
    Definition Classes
    SetMapSwayMap
  15. def expire(key: K, at: Deadline): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  16. def expire(key: K, after: FiniteDuration): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def from(key: K): SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  19. def fromOrAfter(key: K): SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  20. def fromOrBefore(key: K): SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  21. def get(key: K): BAG[Option[V]]

    Permalink

    Returns target value for the input key.

    Returns target value for the input key.

    Definition Classes
    SetMapSwayMap
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getKey(key: K): BAG[Option[K]]

    Permalink

    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)]]

    Permalink
    Definition Classes
    SetMapSwayMap
  25. def headOption: BAG[Option[(K, V)]]

    Permalink
    Definition Classes
    SetMapSwayMap
  26. def headOrNull: BAG[(K, V)]

    Permalink
    Definition Classes
    SetMapSwayMap
  27. def isEmpty: BAG[Boolean]

    Permalink
    Definition Classes
    SetMapSwayMap
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def iterator[BAG[_]](implicit bag: Sync[BAG]): Iterator[BAG[(K, V)]]

    Permalink
    Definition Classes
    SetMapSwayMap
  30. def lastOption: BAG[Option[(K, V)]]

    Permalink
    Definition Classes
    SetMapSwayMap
  31. def levelMeter(levelNumber: Int): Option[LevelMeter]

    Permalink
    Definition Classes
    SetMapSwayMap
  32. def levelZeroMeter: LevelZeroMeter

    Permalink
    Definition Classes
    SetMapSwayMap
  33. def mightContain(key: K): BAG[Boolean]

    Permalink
    Definition Classes
    SetMapSwayMap
  34. def mightContainFunction(functionId: K): BAG[Boolean]

    Permalink
    Definition Classes
    SetMapSwayMap
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def nonEmpty: BAG[Boolean]

    Permalink
    Definition Classes
    SetMapSwayMap
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def put(keyValues: Iterator[(K, V)]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  40. def put(keyValues: Iterable[(K, V)]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  41. def put(keyValues: Stream[(K, V)]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  42. def put(keyValues: (K, V)*): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  43. def put(key: K, value: V, expireAt: Deadline): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  44. def put(key: K, value: V, expireAfter: FiniteDuration): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  45. def put(key: K, value: V): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  46. def remove(keys: Iterator[K]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  47. def remove(keys: Iterable[K]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  48. def remove(keys: Stream[K]): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  49. def remove(keys: K*): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  50. def remove(key: K): BAG[OK]

    Permalink
    Definition Classes
    SetMapSwayMap
  51. def reverse: SetMap[K, V, F, BAG]

    Permalink
    Definition Classes
    SetMapSwayMap
  52. val set: Set[(K, V), F, BAG]

    Permalink
  53. def sizeOfBloomFilterEntries: BAG[Int]

    Permalink
    Definition Classes
    SetMapSwayMap
  54. def sizeOfSegments: Long

    Permalink
    Definition Classes
    SetMapSwayMap
  55. def stream: Stream[(K, V)]

    Permalink
    Definition Classes
    SetMapSwayMap
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  57. def timeLeft(key: K): BAG[Option[FiniteDuration]]

    Permalink
    Definition Classes
    SetMapSwayMap
  58. def toBag[X[_]](implicit bag: Bag[X]): SetMap[K, V, F, X]

    Permalink

    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
  59. def toString(): String

    Permalink
    Definition Classes
    SetMapSwayMap → AnyRef → Any
  60. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

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

Inherited from AnyRef

Inherited from Any

Ungrouped