Packages

c

swaydb.java

MultiMap

case class MultiMap[M, K, V, F](asScala: swaydb.MultiMap[M, K, V, F, Glass])(implicit evd: <:<[F, PureFunction.Map[K, V]]) extends MapT[K, V, F] with Product with Serializable

Documentation - http://swaydb.io/

Linear Supertypes
Serializable, Product, Equals, MapT[K, V, F], SetMapT[K, V], Source[K, KeyVal[K, V]], Stream[KeyVal[K, V]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiMap
  2. Serializable
  3. Product
  4. Equals
  5. MapT
  6. SetMapT
  7. Source
  8. Stream
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MultiMap(asScala: swaydb.MultiMap[M, K, V, F, Glass])(implicit evd: <:<[F, PureFunction.Map[K, V]])

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): Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  5. def applyFunction(from: K, to: K, function: F): Unit
    Definition Classes
    MultiMapMapT
  6. def applyFunction(key: K, function: F): Unit
    Definition Classes
    MultiMapMapT
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asJava: java.util.Map[K, V]
    Definition Classes
    MultiMapSetMapT
  9. val asScala: swaydb.MultiMap[M, K, V, F, Glass]
  10. def asScalaStream: swaydb.Source[K, KeyVal[K, V], Glass]
    Definition Classes
    MultiMap → Source → Stream
  11. def before(key: K): Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  12. def child[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2], expireAfter: Duration): MultiMap[M, K2, V2, F]
  13. def child[K2 <: K](mapKey: M, keyType: Class[K2], expireAfter: Duration): MultiMap[M, K2, V, F]
  14. def child(mapKey: M, expireAfter: Duration): MultiMap[M, K, V, F]

    Creates new or initialises the existing map.

  15. def child[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2]): MultiMap[M, K2, V2, F]
  16. def child[K2 <: K](mapKey: M, keyType: Class[K2]): MultiMap[M, K2, V, F]
  17. def child(mapKey: M): MultiMap[M, K, V, F]

    Creates new or initialises the existing map.

  18. def children: Stream[MultiMap[M, K, V, F]]
  19. def childrenFlatten: Stream[MultiMap[M, K, V, F]]
  20. def childrenKeys: Stream[M]

    Keys of all child Maps.

  21. def clearAppliedAndRegisteredFunctions(): Iterable[String]
    Definition Classes
    MultiMapMapT
  22. def clearAppliedFunctions(): Iterable[String]
    Definition Classes
    MultiMapMapT
  23. def clearKeyValues(): Unit
    Definition Classes
    MultiMapSetMapT
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  25. def close(): Unit
    Definition Classes
    MultiMapSetMapT
  26. def commit(prepare: Stream[Prepare[K, V, F]]): Unit
    Definition Classes
    MultiMapMapT
  27. def commit(prepare: Iterable[Prepare[K, V, F]]): Unit
    Definition Classes
    MultiMapMapT
  28. def commitMultiPrepare(transaction: java.util.stream.Stream[MultiPrepare[M, K, V, F]]): Unit
  29. def commitMultiPrepare(transaction: Iterator[MultiPrepare[M, K, V, F]]): Unit
  30. def commitMultiPrepare(transaction: Iterable[MultiPrepare[M, K, V, F]]): Unit
  31. def contains(key: K): Boolean
    Definition Classes
    MultiMapSetMapT
  32. def count: Int
    Definition Classes
    Stream
  33. def count(predicate: Predicate[KeyVal[K, V]]): Int
    Definition Classes
    Stream
  34. def defaultExpiration: Optional[Expiration]
  35. def delete(): Unit
    Definition Classes
    MultiMapSetMapT
  36. def drop(count: Int): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  37. def dropWhile(predicate: Predicate[KeyVal[K, V]]): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(other: Any): Boolean
    Definition Classes
    MultiMap → Equals → AnyRef → Any
  40. def expiration(key: K): Optional[Expiration]
    Definition Classes
    MultiMapSetMapT
  41. def expire(keys: Iterator[Pair[K, Duration]]): Unit
    Definition Classes
    MultiMapMapT
  42. def expire(keys: Stream[Pair[K, Duration]]): Unit
    Definition Classes
    MultiMapMapT
  43. def expire(keys: Iterable[Pair[K, Duration]]): Unit
    Definition Classes
    MultiMapMapT
  44. def expire(from: K, to: K, after: Duration): Unit
    Definition Classes
    MultiMapMapT
  45. def expire(key: K, after: Duration): Unit
    Definition Classes
    MultiMapSetMapT
  46. def filter(predicate: Predicate[KeyVal[K, V]]): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  47. def filterNot(predicate: Predicate[KeyVal[K, V]]): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  48. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  49. def flatMap[B](function: JavaFunction[KeyVal[K, V], Stream[B]]): Stream[B]
    Definition Classes
    Stream
  50. def foldLeft[B](initial: B, function: BiFunction[B, KeyVal[K, V], B]): B
    Definition Classes
    Stream
  51. def forEach(consumer: Consumer[KeyVal[K, V]]): Unit
    Definition Classes
    Stream
  52. def from(key: K): Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  53. def fromOrAfter(key: K): Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  54. def fromOrBefore(key: K): Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  55. def get(key: K): Optional[V]
    Definition Classes
    MultiMapSetMapT
  56. def getChild[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2]): Optional[MultiMap[M, K2, V2, F]]
  57. def getChild[K2 <: K](mapKey: M, keyType: Class[K2]): Optional[MultiMap[M, K2, V, F]]
  58. def getChild(mapKey: M): Optional[MultiMap[M, K, V, F]]

    Returns the child Map

  59. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. def getKey(key: K): Optional[K]
    Definition Classes
    MultiMapSetMapT
  61. def getKeyDeadline(key: K): Optional[Pair[K, Optional[Expiration]]]
    Definition Classes
    MultiMapMapT
  62. def getKeyValue(key: K): Optional[KeyVal[K, V]]
    Definition Classes
    MultiMapSetMapT
  63. def getKeyValueDeadline(key: K): Optional[Pair[KeyVal[K, V], Optional[Expiration]]]
    Definition Classes
    MultiMapMapT
  64. def hasChildren: Boolean
  65. def hashCode(): Int
    Definition Classes
    MultiMap → AnyRef → Any
  66. def head: Optional[KeyVal[K, V]]
    Definition Classes
    MultiMapSetMapT → Stream
  67. def isEmpty: Boolean
    Definition Classes
    MultiMapSetMapT
  68. def isFunctionApplied(function: F): Boolean
    Definition Classes
    MultiMapMapT
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def iterator(): Iterator[KeyVal[K, V]]
    Definition Classes
    Stream
  71. def keySize(key: K): Int
    Definition Classes
    MultiMapMapT
  72. def keys: Stream[K]
    Definition Classes
    MultiMapSetMapT
  73. def last: Optional[KeyVal[K, V]]
    Definition Classes
    MultiMapSetMapT → Stream
  74. def levelMeter(levelNumber: Int): Optional[LevelMeter]
    Definition Classes
    MultiMapSetMapT
  75. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MultiMapSetMapT
  76. def map[B](function: JavaFunction[KeyVal[K, V], B]): Stream[B]
    Definition Classes
    Stream
  77. def mapKey: M
  78. def materialize: List[KeyVal[K, V]]
    Definition Classes
    Stream
  79. def mightContain(key: K): Boolean
    Definition Classes
    MultiMapSetMapT
  80. def mightContainFunction(function: F): Boolean
    Definition Classes
    MultiMapMapT
  81. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  82. def nonEmpty: Boolean
    Definition Classes
    MultiMapSetMapT
  83. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  84. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  85. def partition[B](predicate: Predicate[KeyVal[K, V]]): Pair[List[KeyVal[K, V]], List[KeyVal[K, V]]]
    Definition Classes
    Stream
  86. def path: Path
    Definition Classes
    MultiMapSetMapT
  87. def productElementNames: Iterator[String]
    Definition Classes
    Product
  88. def put(keyValues: Iterator[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  89. def put(keyValues: Stream[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  90. def put(keyValues: Iterable[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  91. def put(key: K, value: V, expireAfter: Duration): Unit
    Definition Classes
    MultiMapSetMapT
  92. def put(key: K, value: V): Unit
    Definition Classes
    MultiMapSetMapT
  93. def remove(keys: Iterator[K]): Unit
    Definition Classes
    MultiMapSetMapT
  94. def remove(keys: Stream[K]): Unit
    Definition Classes
    MultiMapSetMapT
  95. def remove(keys: Iterable[K]): Unit
    Definition Classes
    MultiMapSetMapT
  96. def remove(from: K, to: K): Unit
    Definition Classes
    MultiMapMapT
  97. def remove(key: K): Unit
    Definition Classes
    MultiMapSetMapT
  98. def removeChild(mapKey: M): Boolean

    returns

    false if the map does not exist else true on successful remove.

  99. def replaceChild[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2], expireAfter: Duration): MultiMap[M, K2, V2, F]
  100. def replaceChild[K2 <: K](mapKey: M, keyType: Class[K2], expireAfter: Duration): MultiMap[M, K2, V, F]
  101. def replaceChild(mapKey: M, expireAfter: Duration): MultiMap[M, K, V, F]

    Clears existing entries before creating the Map.

    Clears existing entries before creating the Map.

    Note

    Put has slower immediate write performance for preceding key-value entries. Always use child if clearing existing entries is not required.

  102. def replaceChild[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2]): MultiMap[M, K2, V2, F]
  103. def replaceChild[K2 <: K](mapKey: M, keyType: Class[K2]): MultiMap[M, K2, V, F]
  104. def replaceChild(mapKey: M): MultiMap[M, K, V, F]

    Clears existing entries before creating the Map.

    Clears existing entries before creating the Map.

    Note

    Put has slower immediate write performance for preceding key-value entries. Always use child if clearing existing entries is not required.

  105. def reverse: Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  106. def sizeOfBloomFilterEntries: Int
    Definition Classes
    MultiMapSetMapT
  107. def sizeOfSegments: Long
    Definition Classes
    MultiMapSetMapT
  108. def stream: Source[K, KeyVal[K, V]]
    Definition Classes
    Source
  109. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  110. def take(count: Int): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  111. def takeWhile(predicate: Predicate[KeyVal[K, V]]): Stream[KeyVal[K, V]]
    Definition Classes
    Stream
  112. def timeLeft(key: K): Optional[Duration]
    Definition Classes
    MultiMapSetMapT
  113. def toString(): String
    Definition Classes
    MultiMap → AnyRef → Any
  114. def update(keyValues: Iterator[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapMapT
  115. def update(keyValues: Stream[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapMapT
  116. def update(keyValues: Iterable[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapMapT
  117. def update(from: K, to: K, value: V): Unit
    Definition Classes
    MultiMapMapT
  118. def update(key: K, value: V): Unit
    Definition Classes
    MultiMapMapT
  119. def valueSize(value: V): Int
    Definition Classes
    MultiMapMapT
  120. def values: Stream[V]
    Definition Classes
    MultiMapSetMapT
  121. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  122. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  123. 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 MapT[K, V, F]

Inherited from SetMapT[K, V]

Inherited from Source[K, KeyVal[K, V]]

Inherited from Stream[KeyVal[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped