K - the map key typeV - the map value typeR - the return type of MapEntryOperations specialized for the queried mappublic interface MapQueryContext<K,V,R> extends HashQueryContext<K>, MapContext<K,V,R>
ChronicleMap operations with individual keys
(like during get(), put(), etc., opposed to bulk operations).
This is the main context type of MapMethods and MapRemoteOperations.ChronicleHash.queryContext(Object)| Modifier and Type | Method and Description |
|---|---|
MapAbsentEntry<K,V> |
absentEntry()
Returns the special absent entry object, if the entry with the queried key
is absent in the hash, returns
null, if the entry is present. |
MapEntry<K,V> |
entry()
Returns the entry context, if the entry with the queried key is present
in the
ChronicleHash, returns null is the entry is absent. |
queriedKey, segmentIndexreadLock, updateLock, writeLockhash, map, wrapValueAsData, wrapValueBytesAsDatainsert, remove, replaceValuedefaultValue@Nullable MapEntry<K,V> entry()
HashQueryContextChronicleHash, returns null is the entry is absent.entry in interface HashQueryContext<K>@Nullable MapAbsentEntry<K,V> absentEntry()
HashQueryContextnull, if the entry is present.absentEntry in interface HashQueryContext<K>Copyright © 2019. All rights reserved.