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 class
MapKey.MapReadResult
Presents the result of a read request on a map CRDT.class
MapKey.MapUpdateOpBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapKey.MapUpdateOpBuilder
operation()
Builds a new update operation.UpdateOp
removeKey(Key<?> key)
Creates an update operation, which removes a key from the map.UpdateOp
removeKeys(Key<?>... keys)
Creates an update operation, which removes keys from the map.UpdateOp
removeKeys(java.lang.Iterable<? extends Key<?>> keys)
Creates an update operation, which removes keys from the map.UpdateOp
update(UpdateOp... keyUpdates)
Creates an update operation, which updates the CRDTs embedded in this map.UpdateOp
update(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
Bucket
to 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
Bucket
to 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
Bucket
to execute the update.
-
removeKeys
@CheckReturnValue public UpdateOp removeKeys(Key<?>... keys)
Creates an update operation, which removes keys from the map.Use the methods on
Bucket
to 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
Bucket
to execute the update.
-
operation
@CheckReturnValue public MapKey.MapUpdateOpBuilder operation()
Builds a new update operation.Use methods on
MapKey.MapUpdateOpBuilder
to modify the operation before executing it with the update methods onBucket
.
-
-