Class MustachePlugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.script.mustache.MustachePlugin
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.plugins.ActionPlugin, org.elasticsearch.plugins.ScriptPlugin, org.elasticsearch.plugins.SearchPlugin

public class MustachePlugin extends org.elasticsearch.plugins.Plugin implements org.elasticsearch.plugins.ScriptPlugin, org.elasticsearch.plugins.ActionPlugin, org.elasticsearch.plugins.SearchPlugin
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin

    org.elasticsearch.plugins.ActionPlugin.ActionHandler<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>

    Nested classes/interfaces inherited from interface org.elasticsearch.plugins.SearchPlugin

    org.elasticsearch.plugins.SearchPlugin.AggregationSpec, org.elasticsearch.plugins.SearchPlugin.FetchPhaseConstructionContext, org.elasticsearch.plugins.SearchPlugin.PipelineAggregationSpec, org.elasticsearch.plugins.SearchPlugin.QuerySpec<T extends org.elasticsearch.index.query.QueryBuilder>, org.elasticsearch.plugins.SearchPlugin.RescorerSpec<T extends org.elasticsearch.search.rescore.RescorerBuilder<T>>, org.elasticsearch.plugins.SearchPlugin.ScoreFunctionSpec<T extends org.elasticsearch.index.query.functionscore.ScoreFunctionBuilder<T>>, org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<W extends org.elasticsearch.common.io.stream.NamedWriteable,P extends Object>, org.elasticsearch.plugins.SearchPlugin.SearchExtSpec<T extends org.elasticsearch.search.SearchExtBuilder>, org.elasticsearch.plugins.SearchPlugin.SignificanceHeuristicSpec<T extends org.elasticsearch.search.aggregations.bucket.terms.heuristic.SignificanceHeuristic>, org.elasticsearch.plugins.SearchPlugin.SuggesterSpec<T extends org.elasticsearch.search.suggest.SuggestionBuilder<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>>
     
    List<org.elasticsearch.rest.RestHandler>
    getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)
     
    org.elasticsearch.script.ScriptEngine
    getScriptEngine(org.elasticsearch.common.settings.Settings settings, Collection<org.elasticsearch.script.ScriptContext<?>> contexts)
     

    Methods inherited from class org.elasticsearch.plugins.Plugin

    additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModule

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.plugins.ActionPlugin

    getActionFilters, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators

    Methods inherited from interface org.elasticsearch.plugins.ScriptPlugin

    getContexts

    Methods inherited from interface org.elasticsearch.plugins.SearchPlugin

    getAggregationExtentions, getAggregations, getFetchSubPhases, getHighlighters, getMovingAverageModels, getPipelineAggregations, getQueries, getRequestCacheKeyDifferentiator, getRescorers, getScoreFunctions, getSearchExts, getSignificanceHeuristics, getSuggesters
  • Constructor Details

    • MustachePlugin

      public MustachePlugin()
  • Method Details

    • getScriptEngine

      public org.elasticsearch.script.ScriptEngine getScriptEngine(org.elasticsearch.common.settings.Settings settings, Collection<org.elasticsearch.script.ScriptContext<?>> contexts)
      Specified by:
      getScriptEngine in interface org.elasticsearch.plugins.ScriptPlugin
    • getActions

      public List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>> getActions()
      Specified by:
      getActions in interface org.elasticsearch.plugins.ActionPlugin
    • getRestHandlers

      public List<org.elasticsearch.rest.RestHandler> getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)
      Specified by:
      getRestHandlers in interface org.elasticsearch.plugins.ActionPlugin