K - the set key typeR - the return type of SetEntryOperations specialized for the queried setpublic interface SetQueryContext<K,R> extends HashQueryContext<K>, SetContext<K,R>
ChronicleSet operations with individual keys
(most: contains(), add(), etc., opposed to bulk operations).ChronicleHash.queryContext(Object)| Modifier and Type | Method and Description |
|---|---|
SetAbsentEntry<K> |
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. |
SetEntry<K> |
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, setinsert, remove@Nullable SetEntry<K> entry()
HashQueryContextChronicleHash, returns null is the entry is absent.entry in interface HashQueryContext<K>@Nullable SetAbsentEntry<K> absentEntry()
HashQueryContextnull, if the entry is present.absentEntry in interface HashQueryContext<K>Copyright © 2019. All rights reserved.