public class TransportSearchAction extends HandledTransportAction<SearchRequest,SearchResponse>
actionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportSearchAction(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterService clusterService,
TransportSearchDfsQueryThenFetchAction dfsQueryThenFetchAction,
TransportSearchQueryThenFetchAction queryThenFetchAction,
TransportSearchDfsQueryAndFetchAction dfsQueryAndFetchAction,
TransportSearchQueryAndFetchAction queryAndFetchAction,
TransportSearchScanAction scanAction,
TransportSearchCountAction countAction,
ActionFilters actionFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(SearchRequest searchRequest,
ActionListener<SearchResponse> listener) |
SearchRequest |
newRequestInstance()
Sub classes implement this call to get new instance of a Request object
|
execute, execute, forceThreadedListenernodeName@Inject public TransportSearchAction(Settings settings, ThreadPool threadPool, TransportService transportService, ClusterService clusterService, TransportSearchDfsQueryThenFetchAction dfsQueryThenFetchAction, TransportSearchQueryThenFetchAction queryThenFetchAction, TransportSearchDfsQueryAndFetchAction dfsQueryAndFetchAction, TransportSearchQueryAndFetchAction queryAndFetchAction, TransportSearchScanAction scanAction, TransportSearchCountAction countAction, ActionFilters actionFilters)
protected void doExecute(SearchRequest searchRequest, ActionListener<SearchResponse> listener)
doExecute in class TransportAction<SearchRequest,SearchResponse>public SearchRequest newRequestInstance()
HandledTransportActionnewRequestInstance in class HandledTransportAction<SearchRequest,SearchResponse>Copyright © 2009–2016. All rights reserved.