Class MapperTestCase.IngestScriptSupport

java.lang.Object
org.elasticsearch.index.mapper.MapperTestCase.IngestScriptSupport
Enclosing class:
MapperTestCase

protected abstract class MapperTestCase.IngestScriptSupport extends Object
  • Constructor Details

    • IngestScriptSupport

      protected IngestScriptSupport()
  • Method Details

    • compileOtherScript

      protected <T> T compileOtherScript(Script script, ScriptContext<T> context)
    • emptyFieldScript

      protected abstract ScriptFactory emptyFieldScript()
      Create a script that can be run to produce no values for this field or return Optional.empty() to signal that this field doesn't support fields scripts.
    • nonEmptyFieldScript

      protected abstract ScriptFactory nonEmptyFieldScript()
      Create a script that can be run to produce some value value for this field or return Optional.empty() to signal that this field doesn't support fields scripts.