Class VeniceResponseMapImpl<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
com.linkedin.venice.client.store.streaming.VeniceResponseMapImpl<K,V>
- All Implemented Interfaces:
VeniceResponseMap<K,
,V> Serializable
,Cloneable
,Map<K,
V>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve all the non-existing keys known so far, and if the current response is a full response, this will contain all the missing keys in the request.int
Return the total number of entries, including non-existing keys.boolean
Whether the result is a full response or not.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
VeniceResponseMapImpl
-
-
Method Details
-
isFullResponse
public boolean isFullResponse()Description copied from interface:VeniceResponseMap
Whether the result is a full response or not.- Specified by:
isFullResponse
in interfaceVeniceResponseMap<K,
V> - Returns:
-
getNonExistingKeys
Description copied from interface:VeniceResponseMap
Retrieve all the non-existing keys known so far, and if the current response is a full response, this will contain all the missing keys in the request.- Specified by:
getNonExistingKeys
in interfaceVeniceResponseMap<K,
V> - Returns:
-
getTotalEntryCount
public int getTotalEntryCount()Description copied from interface:VeniceResponseMap
Return the total number of entries, including non-existing keys.- Specified by:
getTotalEntryCount
in interfaceVeniceResponseMap<K,
V>
-