Package org.opensearch.ingest
Class ValueSource.TemplatedValue
java.lang.Object
org.opensearch.ingest.ValueSource.TemplatedValue
- All Implemented Interfaces:
ValueSource
- Enclosing interface:
ValueSource
A templated value.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.ingest.ValueSource
ValueSource.ByteValue, ValueSource.ListValue, ValueSource.MapValue, ValueSource.ObjectValue, ValueSource.TemplatedValue
-
Method Summary
-
Method Details
-
copyAndResolve
Description copied from interface:ValueSource
Returns 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:
copyAndResolve
in interfaceValueSource
- Parameters:
model
- The model to be used when resolving any templates- Returns:
- copy of the wrapped value
-
equals
-
hashCode
public int hashCode()
-