Class IngestConditionalScript

java.lang.Object
org.elasticsearch.script.SourceMapFieldScript
org.elasticsearch.script.IngestConditionalScript

public abstract class IngestConditionalScript extends SourceMapFieldScript
A script used by ConditionalProcessor.
  • Field Details

  • Constructor Details

  • Method Details

    • getCtx

      public Map<String,Object> getCtx()
      Provides backwards compatibility access to ctx
      Returns:
      the context map containing the source data
    • getParams

      public Map<String,Object> getParams()
      Return the parameters for this script.
      Returns:
      a map of parameters
    • execute

      public abstract boolean execute()