Class TemplateScript

org.elasticsearch.script.TemplateScript

public abstract class TemplateScript extends
A string template rendered as a script.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
    static []
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    <,​> params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract
    Run a template and return the resulting string, encoded in utf8 bytes.
    <,​>
    Return the parameters for this script.

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Field Details

  • Constructor Details

    • TemplateScript

      public TemplateScript(<,​> params)
  • Method Details

    • getParams

      public <,​> getParams()
      Return the parameters for this script.
    • execute

      public abstract  execute()
      Run a template and return the resulting string, encoded in utf8 bytes.