Class InlinePainlessScript<Factory>

  • All Implemented Interfaces:
    org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

    public class InlinePainlessScript<Factory>
    extends Object
    implements org.elasticsearch.xcontent.ToXContentFragment
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  InlinePainlessScript.Parser<Factory>  
      • Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

        org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
    • Field Summary

      • Fields inherited from interface org.elasticsearch.xcontent.ToXContent

        EMPTY_PARAMS
    • Constructor Detail

      • InlinePainlessScript

        public InlinePainlessScript​(org.elasticsearch.script.ScriptContext<Factory> scriptContext,
                                    String source)
    • Method Detail

      • compile

        public void compile​(WatchInitializationService watchInitializationService,
                            com.floragunn.searchsupport.config.validation.ValidationErrors validationErrors)
      • toXContent

        public org.elasticsearch.xcontent.XContentBuilder toXContent​(org.elasticsearch.xcontent.XContentBuilder builder,
                                                                     org.elasticsearch.xcontent.ToXContent.Params params)
                                                              throws IOException
        Specified by:
        toXContent in interface org.elasticsearch.xcontent.ToXContent
        Throws:
        IOException
      • getScriptFactory

        public Factory getScriptFactory()