public class TransportSearchAction extends HandledTransportAction<SearchRequest,SearchResponse>
actionName, threadPool
componentSettings, 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, forceThreadedListener
nodeName
@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()
HandledTransportAction
newRequestInstance
in class HandledTransportAction<SearchRequest,SearchResponse>
Copyright © 2009–2015. All rights reserved.