org.elasticsearch.action.explain
Class TransportExplainAction
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.single.shard.TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
org.elasticsearch.action.explain.TransportExplainAction
public class TransportExplainAction
- extends TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
Explain transport action. Computes the explain on the targeted shard.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportExplainAction
@Inject
public TransportExplainAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ScriptService scriptService)
transportAction
protected String transportAction()
- Specified by:
transportAction
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
executor
protected String executor()
- Specified by:
executor
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
resolveRequest
protected void resolveRequest(ClusterState state,
ExplainRequest request)
- Overrides:
resolveRequest
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
shardOperation
protected ExplainResponse shardOperation(ExplainRequest request,
int shardId)
throws ElasticSearchException
- Specified by:
shardOperation
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
- Throws:
ElasticSearchException
newRequest
protected ExplainRequest newRequest()
- Specified by:
newRequest
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
newResponse
protected ExplainResponse newResponse()
- Specified by:
newResponse
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
checkGlobalBlock
protected ClusterBlockException checkGlobalBlock(ClusterState state,
ExplainRequest request)
- Specified by:
checkGlobalBlock
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ClusterState state,
ExplainRequest request)
- Specified by:
checkRequestBlock
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
shards
protected ShardIterator shards(ClusterState state,
ExplainRequest request)
throws ElasticSearchException
- Specified by:
shards
in class TransportShardSingleOperationAction<ExplainRequest,ExplainResponse>
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.