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
Constructors -
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.intReturn the total number of entries, including non-existing keys.booleanWhether 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, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:VeniceResponseMapWhether the result is a full response or not.- Specified by:
isFullResponsein interfaceVeniceResponseMap<K,V> - Returns:
-
getNonExistingKeys
Description copied from interface:VeniceResponseMapRetrieve 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:
getNonExistingKeysin interfaceVeniceResponseMap<K,V> - Returns:
-
getTotalEntryCount
public int getTotalEntryCount()Description copied from interface:VeniceResponseMapReturn the total number of entries, including non-existing keys.- Specified by:
getTotalEntryCountin interfaceVeniceResponseMap<K,V>
-