An immutable multi-map implementation. This class wraps an ORMap with an ORSet for the map's value.
This class is immutable, i.e. "modifying" methods return a new instance.
Note that on concurrent adds and removals for the same key (on the same set), removals can be lost.
- Companion:
- object
- Source:
- ORMultiMap.scala
Type members
Types
Value members
Concrete methods
Convenience for put. Requires an implicit SelfUniqueAddress.
Convenience for put. Requires an implicit SelfUniqueAddress.
- See also:
ORMultiMap#put
- Source:
- ORMultiMap.scala
Add an element to a set associated with a key. If there is no existing set then one will be initialised. TODO add implicit after deprecated is EOL.
Add an element to a set associated with a key. If there is no existing set then one will be initialised. TODO add implicit after deprecated is EOL.
- Source:
- ORMultiMap.scala
Scala API: All entries of a multimap where keys are strings and values are sets.
Scala API: All entries of a multimap where keys are strings and values are sets.
- Source:
- ORMultiMap.scala
Get the set associated with the key if there is one.
Get the set associated with the key if there is one.
- Source:
- ORMultiMap.scala
Java API: All entries of a multimap where keys are strings and values are sets.
Java API: All entries of a multimap where keys are strings and values are sets.
- Source:
- ORMultiMap.scala
Scala API: Get the set associated with the key if there is one, else return the given default.
Scala API: Get the set associated with the key if there is one, else return the given default.
- Source:
- ORMultiMap.scala
Scala API: Associate an entire set with the key while retaining the history of the previous replicated data set.
Scala API: Associate an entire set with the key while retaining the history of the previous replicated data set.
- Source:
- ORMultiMap.scala
Java API: Associate an entire set with the key while retaining the history of the previous replicated data set.
Java API: Associate an entire set with the key while retaining the history of the previous replicated data set.
- Source:
- ORMultiMap.scala
Scala API Remove an entire set associated with the key.
Scala API Remove an entire set associated with the key.
- Source:
- ORMultiMap.scala
Java API Remove an entire set associated with the key.
Java API Remove an entire set associated with the key.
- Source:
- ORMultiMap.scala
Remove an element of a set associated with a key. If there are no more elements in the set then the entire set will be removed. TODO add implicit after deprecated is EOL.
Remove an element of a set associated with a key. If there are no more elements in the set then the entire set will be removed. TODO add implicit after deprecated is EOL.
- Source:
- ORMultiMap.scala
Replace an element of a set associated with a key with a new one if it is different. This is useful when an element is removed and another one is added within the same Update. The order of addition and removal is important in order to retain history for replicated data.
Replace an element of a set associated with a key with a new one if it is different. This is useful when an element is removed and another one is added within the same Update. The order of addition and removal is important in order to retain history for replicated data.
- Source:
- ORMultiMap.scala
- Source:
- ORMultiMap.scala
Deprecated methods
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
Convenience for remove. Requires an implicit Cluster.
Convenience for remove. Requires an implicit Cluster.
- See also:
ORMultiMap#remove
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala
- Deprecated
[Since version 2.5.20]
- Source:
- ORMultiMap.scala