Packages

c

swaydb.java

MultiMap

case class MultiMap[M, K, V, F](asScala: swaydb.MultiMap[M, K, V, F, Less])(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, Less])(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, Less]
  10. def asScalaStream: swaydb.Source[K, KeyVal[K, V], Less]
    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
  67. def headOption: Optional[KeyVal[K, V]]
    Definition Classes
    Stream
  68. def isEmpty: Boolean
    Definition Classes
    MultiMapSetMapT
  69. def isFunctionApplied(function: F): Boolean
    Definition Classes
    MultiMapMapT
  70. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  71. def iterator(): Iterator[KeyVal[K, V]]
    Definition Classes
    Stream
  72. def keySize(key: K): Int
    Definition Classes
    MultiMapMapT
  73. def keys: Stream[K]
    Definition Classes
    MultiMapSetMapT
  74. def last: Optional[KeyVal[K, V]]
    Definition Classes
    MultiMapSetMapT
  75. def lastOption: Optional[KeyVal[K, V]]
    Definition Classes
    Stream
  76. def levelMeter(levelNumber: Int): Optional[LevelMeter]
    Definition Classes
    MultiMapSetMapT
  77. def levelZeroMeter: LevelZeroMeter
    Definition Classes
    MultiMapSetMapT
  78. def map[B](function: JavaFunction[KeyVal[K, V], B]): Stream[B]
    Definition Classes
    Stream
  79. def mapKey: M
  80. def materialize: List[KeyVal[K, V]]
    Definition Classes
    Stream
  81. def mightContain(key: K): Boolean
    Definition Classes
    MultiMapSetMapT
  82. def mightContainFunction(function: F): Boolean
    Definition Classes
    MultiMapMapT
  83. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def nonEmpty: Boolean
    Definition Classes
    MultiMapSetMapT
  85. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  86. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  87. def partition[B](predicate: Predicate[KeyVal[K, V]]): Pair[List[KeyVal[K, V]], List[KeyVal[K, V]]]
    Definition Classes
    Stream
  88. def path: Path
    Definition Classes
    MultiMapSetMapT
  89. def productElementNames: Iterator[String]
    Definition Classes
    Product
  90. def put(keyValues: Iterator[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  91. def put(keyValues: Stream[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  92. def put(keyValues: Iterable[KeyVal[K, V]]): Unit
    Definition Classes
    MultiMapSetMapT
  93. def put(key: K, value: V, expireAfter: Duration): Unit
    Definition Classes
    MultiMapSetMapT
  94. def put(key: K, value: V): Unit
    Definition Classes
    MultiMapSetMapT
  95. def remove(keys: Iterator[K]): Unit
    Definition Classes
    MultiMapSetMapT
  96. def remove(keys: Stream[K]): Unit
    Definition Classes
    MultiMapSetMapT
  97. def remove(keys: Iterable[K]): Unit
    Definition Classes
    MultiMapSetMapT
  98. def remove(from: K, to: K): Unit
    Definition Classes
    MultiMapMapT
  99. def remove(key: K): Unit
    Definition Classes
    MultiMapSetMapT
  100. def removeChild(mapKey: M): Boolean

    returns

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

  101. def replaceChild[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2], expireAfter: Duration): MultiMap[M, K2, V2, F]
  102. def replaceChild[K2 <: K](mapKey: M, keyType: Class[K2], expireAfter: Duration): MultiMap[M, K2, V, F]
  103. 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.

  104. def replaceChild[K2 <: K, V2 <: V](mapKey: M, keyType: Class[K2], valueType: Class[V2]): MultiMap[M, K2, V2, F]
  105. def replaceChild[K2 <: K](mapKey: M, keyType: Class[K2]): MultiMap[M, K2, V, F]
  106. 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.

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