Class

swaydb

Map

Related Doc: package swaydb

Permalink

case class Map[K, V, F, T[_]](core: Core[T], from: Option[From[K]] = None, reverseIteration: Boolean = false)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], tag: Tag[T]) extends Streamable[(K, V), T] with Product with Serializable

Map database API.

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

Self Type
Map[K, V, F, T]
Linear Supertypes
Serializable, Serializable, Product, Equals, Streamable[(K, V), T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Streamable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Map(core: Core[T], from: Option[From[K]] = None, reverseIteration: Boolean = false)(implicit keySerializer: Serializer[K], valueSerializer: Serializer[V], tag: Tag[T])

    Permalink

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): Map[K, V, F, T]

    Permalink
  5. def applyFunction[PF <: F](from: K, to: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  6. def applyFunction[PF <: F](key: K, function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
  9. def before(key: K): Map[K, V, F, T]

    Permalink
  10. def clear(): T[Done]

    Permalink
  11. def clone(): AnyRef

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

    Permalink
  13. def commit[PF <: F](prepare: Iterable[Prepare[K, V, PF]])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  14. def commit[PF <: F](prepare: Stream[Prepare[K, V, PF], T])(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  15. def commit[PF <: F](prepare: Prepare[K, V, PF]*)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  16. def contains(key: K): T[Boolean]

    Permalink
  17. def delete(): T[Unit]

    Permalink
  18. def drop(count: Int): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  19. def dropWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
  22. def expire(keys: Iterator[(K, Deadline)]): T[Done]

    Permalink
  23. def expire(keys: Iterable[(K, Deadline)]): T[Done]

    Permalink
  24. def expire(keys: Stream[(K, Deadline), T]): T[Done]

    Permalink
  25. def expire(keys: (K, Deadline)*): T[Done]

    Permalink
  26. def expire(from: K, to: K, at: Deadline): T[Done]

    Permalink
  27. def expire(from: K, to: K, after: FiniteDuration): T[Done]

    Permalink
  28. def expire(key: K, at: Deadline): T[Done]

    Permalink
  29. def expire(key: K, after: FiniteDuration): T[Done]

    Permalink
  30. def filter(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  31. def filterNot(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  32. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def flatMap[B](f: ((K, V)) ⇒ Stream[B, T]): Stream[B, T]

    Permalink
    Definition Classes
    Map → Streamable
  34. def foldLeft[B](initial: B)(f: (B, (K, V)) ⇒ B): T[B]

    Permalink
    Definition Classes
    Map → Streamable
  35. def foreach[U](f: ((K, V)) ⇒ U): Stream[Unit, T]

    Permalink
    Definition Classes
    Map → Streamable
  36. def from(key: K): Map[K, V, F, T]

    Permalink
  37. def fromOrAfter(key: K): Map[K, V, F, T]

    Permalink
  38. def fromOrBefore(key: K): Map[K, V, F, T]

    Permalink
  39. def get(key: K): T[Option[V]]

    Permalink

    Returns target value for the input key.

  40. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  41. def getKey(key: K): T[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.

  42. def getKeyValue(key: K): T[Option[(K, V)]]

    Permalink
  43. def headOption(readState: ReadState): T[Option[(K, V)]]

    Permalink
    Attributes
    protected
  44. def headOption: T[Option[(K, V)]]

    Permalink
    Definition Classes
    Map → Streamable
  45. def isEmpty: T[Boolean]

    Permalink
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def keySize(key: K): Int

    Permalink
  48. def keys: Set[K, F, T]

    Permalink
  49. def lastOption: T[Option[(K, V)]]

    Permalink
    Definition Classes
    Map → Streamable
  50. def levelMeter(levelNumber: Int): Option[LevelMeter]

    Permalink
  51. def levelZeroMeter: LevelZeroMeter

    Permalink
  52. def map[B](f: ((K, V)) ⇒ B): Stream[B, T]

    Permalink
    Definition Classes
    Map → Streamable
  53. def mightContain(key: K): T[Boolean]

    Permalink
  54. def mightContainFunction(functionId: K): T[Boolean]

    Permalink
  55. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  56. def nonEmpty: T[Boolean]

    Permalink
  57. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  59. def put(keyValues: Iterator[(K, V)]): T[Done]

    Permalink
  60. def put(keyValues: Iterable[(K, V)]): T[Done]

    Permalink
  61. def put(keyValues: Stream[(K, V), T]): T[Done]

    Permalink
  62. def put(keyValues: (K, V)*): T[Done]

    Permalink
  63. def put(key: K, value: V, expireAt: Deadline): T[Done]

    Permalink
  64. def put(key: K, value: V, expireAfter: FiniteDuration): T[Done]

    Permalink
  65. def put(key: K, value: V): T[Done]

    Permalink
  66. def registerFunction[PF <: F](function: PF)(implicit ev: <:<[PF, PureFunction[K, V, Apply.Map[V]]]): T[Done]

    Permalink
  67. def remove(keys: Iterator[K]): T[Done]

    Permalink
  68. def remove(keys: Iterable[K]): T[Done]

    Permalink
  69. def remove(keys: Stream[K, T]): T[Done]

    Permalink
  70. def remove(keys: K*): T[Done]

    Permalink
  71. def remove(from: K, to: K): T[Done]

    Permalink
  72. def remove(key: K): T[Done]

    Permalink
  73. def reverse: Map[K, V, F, T]

    Permalink
  74. def size: T[Int]

    Permalink
    Definition Classes
    Map → Streamable
  75. def sizeOfBloomFilterEntries: T[Int]

    Permalink
  76. def sizeOfSegments: Long

    Permalink
  77. def stream: Stream[(K, V), T]

    Permalink
  78. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  79. def take(count: Int): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  80. def takeWhile(f: ((K, V)) ⇒ Boolean): Stream[(K, V), T]

    Permalink
    Definition Classes
    Map → Streamable
  81. def timeLeft(key: K): T[Option[FiniteDuration]]

    Permalink
  82. def toString(): String

    Permalink
    Definition Classes
    Map → AnyRef → Any
  83. def toTag[X[_]](implicit tag: Tag[X]): Map[K, V, F, X]

    Permalink

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

  84. def update(keyValues: Iterator[(K, V)]): T[Done]

    Permalink
  85. def update(keyValues: Iterable[(K, V)]): T[Done]

    Permalink
  86. def update(keyValues: Stream[(K, V), T]): T[Done]

    Permalink
  87. def update(keyValues: (K, V)*): T[Done]

    Permalink
  88. def update(from: K, to: K, value: V): T[Done]

    Permalink
  89. def update(key: K, value: V): T[Done]

    Permalink
  90. def valueSize(value: V): Int

    Permalink
  91. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. 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 Streamable[(K, V), T]

Inherited from AnyRef

Inherited from Any

Ungrouped