public class TransportExplainAction extends TransportSingleShardAction<ExplainRequest,ExplainResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, 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, isSubAction
doExecute, execute, execute, execute, execute
logDeprecatedSetting, 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.IOException
protected ExplainResponse newResponse()
newResponse
in class TransportSingleShardAction<ExplainRequest,ExplainResponse>
protected ShardIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardAction
null
the execute
the operation locally (the node that received the request)shards
in class TransportSingleShardAction<ExplainRequest,ExplainResponse>