public class TransportExplainAction extends TransportSingleShardAction<ExplainRequest,ExplainResponse>
TransportSingleShardAction.InternalRequestclusterService, transportServiceactionName, indexNameExpressionResolver, taskManager, threadPooldeprecationLogger, logger, settings| Constructor and Description |
|---|
TransportExplainAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
SearchService searchService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ExplainRequest request,
ActionListener<ExplainResponse> listener) |
protected ExplainResponse |
newResponse() |
protected boolean |
resolveIndex(ExplainRequest request) |
protected void |
resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected ExplainResponse |
shardOperation(ExplainRequest request,
ShardId shardId) |
protected ShardIterator |
shards(ClusterState state,
TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on or
null the execute
the operation locally (the node that received the request) |
checkGlobalBlock, checkRequestBlock, isSubActiondoExecute, execute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeName@Inject public TransportExplainAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, SearchService searchService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected void doExecute(ExplainRequest request, ActionListener<ExplainResponse> listener)
doExecute in class TransportSingleShardAction<ExplainRequest,ExplainResponse>protected boolean resolveIndex(ExplainRequest request)
resolveIndex in class TransportSingleShardAction<ExplainRequest,ExplainResponse>protected void resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)
resolveRequest in class TransportSingleShardAction<ExplainRequest,ExplainResponse>protected ExplainResponse shardOperation(ExplainRequest request, ShardId shardId) throws java.io.IOException
shardOperation in class TransportSingleShardAction<ExplainRequest,ExplainResponse>java.io.IOExceptionprotected ExplainResponse newResponse()
newResponse in class TransportSingleShardAction<ExplainRequest,ExplainResponse>protected ShardIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardActionnull the execute
the operation locally (the node that received the request)shards in class TransportSingleShardAction<ExplainRequest,ExplainResponse>