Package eu.antidotedb.client
Class MapKey
- java.lang.Object
-
- eu.antidotedb.client.Key<MapKey.MapReadResult>
-
- eu.antidotedb.client.MapKey
-
public class MapKey extends Key<MapKey.MapReadResult>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapKey.MapReadResultPresents the result of a read request on a map CRDT.classMapKey.MapUpdateOpBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapKey.MapUpdateOpBuilderoperation()Builds a new update operation.UpdateOpremoveKey(Key<?> key)Creates an update operation, which removes a key from the map.UpdateOpremoveKeys(Key<?>... keys)Creates an update operation, which removes keys from the map.UpdateOpremoveKeys(java.lang.Iterable<? extends Key<?>> keys)Creates an update operation, which removes keys from the map.UpdateOpupdate(UpdateOp... keyUpdates)Creates an update operation, which updates the CRDTs embedded in this map.UpdateOpupdate(java.lang.Iterable<UpdateOp> keyUpdates)Creates an update operation, which updates the CRDTs embedded in this map.-
Methods inherited from class eu.antidotedb.client.Key
counter, counter, create, equals, fatCounter, fatCounter, flag_dw, flag_dw, flag_ew, flag_ew, getKey, getType, hashCode, map_g, map_g, map_rr, map_rr, mergeRegister, mergeRegister, multiValueRegister, multiValueRegister, multiValueRegister, multiValueRegister, register, register, register, register, reset, set, set, set, set, set_removeWins, set_removeWins, set_removeWins, set_removeWins, toString
-
-
-
-
Method Detail
-
update
@CheckReturnValue public UpdateOp update(UpdateOp... keyUpdates)
Creates an update operation, which updates the CRDTs embedded in this map.Use the methods on
Bucketto execute the update.
-
update
@CheckReturnValue public UpdateOp update(java.lang.Iterable<UpdateOp> keyUpdates)
Creates an update operation, which updates the CRDTs embedded in this map.Use the methods on
Bucketto execute the update.
-
removeKey
@CheckReturnValue public UpdateOp removeKey(Key<?> key)
Creates an update operation, which removes a key from the map.Use the methods on
Bucketto execute the update.
-
removeKeys
@CheckReturnValue public UpdateOp removeKeys(Key<?>... keys)
Creates an update operation, which removes keys from the map.Use the methods on
Bucketto execute the update.
-
removeKeys
@CheckReturnValue public UpdateOp removeKeys(java.lang.Iterable<? extends Key<?>> keys)
Creates an update operation, which removes keys from the map.Use the methods on
Bucketto execute the update.
-
operation
@CheckReturnValue public MapKey.MapUpdateOpBuilder operation()
Builds a new update operation.Use methods on
MapKey.MapUpdateOpBuilderto modify the operation before executing it with the update methods onBucket.
-
-