Package org.elasticsearch.script
Class DynamicMap
org.elasticsearch.script.DynamicMap
- All Implemented Interfaces:
<,>
public final class DynamicMap
extends
implements <,>
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
Nested classes/interfaces inherited from interface java.util.
< extends , extends >
-
Constructor Summary
ConstructorDescription<,> delegate, <,<,>> functions)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , ,
Methods inherited from interface java.util.
, , , , , , , , , , , ,
-
Constructor Details
-
DynamicMap
public DynamicMap(<,> delegate, <,<,>> functions)
-
-
Method Details
-
size
public int size()- Specified by:
in interface
<,>
-
isEmpty
public boolean isEmpty()- Specified by:
in interface
<,>
-
containsKey
public boolean containsKey( key)- Specified by:
in interface
<,>
-
containsValue
public boolean containsValue( value)- Specified by:
in interface
<,>
-
get
public get( key)- Specified by:
in interface
<,>
-
put
public put( key, value)- Specified by:
in interface
<,>
-
remove
public remove( key)- Specified by:
in interface
<,>
-
putAll
public void putAll(<? extends ,?> m)- Specified by:
in interface
<,>
-
clear
public void clear()- Specified by:
in interface
<,>
-
keySet
public <> keySet()- Specified by:
in interface
<,>
-
values
public <> values()- Specified by:
in interface
<,>
-
entrySet
public <<,>> entrySet()- Specified by:
in interface
<,>
-
toString
public toString()- Overrides:
in class
-