Package org.elasticsearch.ingest
Class ValueSource.TemplatedValue
- java.lang.Object
-
- org.elasticsearch.ingest.ValueSource.TemplatedValue
-
- All Implemented Interfaces:
ValueSource
- Enclosing interface:
- ValueSource
public static final class ValueSource.TemplatedValue extends Object implements ValueSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.ingest.ValueSource
ValueSource.ByteValue, ValueSource.ListValue, ValueSource.MapValue, ValueSource.ObjectValue, ValueSource.TemplatedValue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcopyAndResolve(Map<String,Object> model)Returns a copy of the value this ValueSource holds and resolves templates if there're any.booleanequals(Object o)inthashCode()
-
-
-
Method Detail
-
copyAndResolve
public Object copyAndResolve(Map<String,Object> model)
Description copied from interface:ValueSourceReturns a copy of the value this ValueSource holds and resolves templates if there're any. For immutable values only a copy of the reference to the value is made.- Specified by:
copyAndResolvein interfaceValueSource- Parameters:
model- The model to be used when resolving any templates- Returns:
- copy of the wrapped value
-
-