Package org.elasticsearch.script
Class DynamicMap
java.lang.Object
org.elasticsearch.script.DynamicMap
DynamicMap is used to wrap a Map for a script parameter. A set of
functions is provided for the overridden values where the function
is applied to the existing value when one exists for the
corresponding key.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
DynamicMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-