Package org.opensearch.script.mustache
Class TransportSearchTemplateAction
java.lang.Object
org.opensearch.action.support.TransportAction<SearchTemplateRequest,SearchTemplateResponse>
org.opensearch.action.support.HandledTransportAction<SearchTemplateRequest,SearchTemplateResponse>
org.opensearch.script.mustache.TransportSearchTemplateAction
- Direct Known Subclasses:
TransportRenderSearchTemplateAction
public class TransportSearchTemplateAction
extends HandledTransportAction<SearchTemplateRequest,SearchTemplateResponse>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final NodeClientprotected final ScriptServiceprotected final org.opensearch.core.xcontent.NamedXContentRegistryFields inherited from class org.opensearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportSearchTemplateAction(String actionName, TransportService transportService, ActionFilters actionFilters, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, NodeClient client) TransportSearchTemplateAction(TransportService transportService, ActionFilters actionFilters, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, NodeClient client) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, SearchTemplateRequest request, org.opensearch.core.action.ActionListener<SearchTemplateResponse> listener) Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
scriptService
-
xContentRegistry
protected final org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry -
client
-
-
Constructor Details
-
TransportSearchTemplateAction
@Inject public TransportSearchTemplateAction(TransportService transportService, ActionFilters actionFilters, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, NodeClient client) -
TransportSearchTemplateAction
public TransportSearchTemplateAction(String actionName, TransportService transportService, ActionFilters actionFilters, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, NodeClient client)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, SearchTemplateRequest request, org.opensearch.core.action.ActionListener<SearchTemplateResponse> listener) - Specified by:
doExecutein classTransportAction<SearchTemplateRequest,SearchTemplateResponse>
-