public class TransportExplainAction extends TransportSingleShardAction<ExplainRequest,ExplainResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportExplainAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ScriptService scriptService,
PageCacheRecycler pageCacheRecycler,
BigArrays bigArrays,
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, IndicesService indicesService, ScriptService scriptService, PageCacheRecycler pageCacheRecycler, BigArrays bigArrays, 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)
shardOperation
in class TransportSingleShardAction<ExplainRequest,ExplainResponse>
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>
Copyright © 2009–2017. All rights reserved.