public class TransportExplainAction extends TransportSingleShardAction<ExplainRequest,ExplainResponse>
TransportSingleShardAction.InternalRequest
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
clusterService, transportService
Constructor | Description |
---|---|
TransportExplainAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
SearchService searchService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method | 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) |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doExecute, execute, execute, execute, execute
checkGlobalBlock, checkRequestBlock, isSubAction
@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>