Package org.elasticsearch.index.mapper
Class MapperTestCase.IngestScriptSupport
java.lang.Object
org.elasticsearch.index.mapper.MapperTestCase.IngestScriptSupport
- Enclosing class:
MapperTestCase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> TcompileOtherScript(Script script, ScriptContext<T> context) protected abstract ScriptFactoryCreate a script that can be run to produce no values for this field or returnOptional.empty()to signal that this field doesn't support fields scripts.protected abstract ScriptFactoryCreate a script that can be run to produce some value value for this field or returnOptional.empty()to signal that this field doesn't support fields scripts.
-
Constructor Details
-
IngestScriptSupport
protected IngestScriptSupport()
-
-
Method Details
-
compileOtherScript
-
emptyFieldScript
Create a script that can be run to produce no values for this field or returnOptional.empty()to signal that this field doesn't support fields scripts. -
nonEmptyFieldScript
Create a script that can be run to produce some value value for this field or returnOptional.empty()to signal that this field doesn't support fields scripts.
-