public class TransportAnalyzeAction extends TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>
TransportSingleCustomOperationAction.InternalRequest, TransportSingleCustomOperationAction.ShardSingleOperationRequestclusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportAnalyzeAction(Settings settings,
ThreadPool threadPool,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
IndicesAnalysisService indicesAnalysisService,
ActionFilters actionFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleCustomOperationAction.InternalRequest request) |
protected String |
executor() |
protected AnalyzeRequest |
newRequest() |
protected AnalyzeResponse |
newResponse() |
protected boolean |
resolveIndex(AnalyzeRequest request) |
protected AnalyzeResponse |
shardOperation(AnalyzeRequest request,
ShardId shardId)
Operation to be executed at the shard level.
|
protected ShardsIterator |
shards(ClusterState state,
TransportSingleCustomOperationAction.InternalRequest request)
Can return null to execute on this local node.
|
checkGlobalBlock, doExecuteexecute, execute, forceThreadedListenernodeName@Inject public TransportAnalyzeAction(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, IndicesAnalysisService indicesAnalysisService, ActionFilters actionFilters)
protected String executor()
executor in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected AnalyzeRequest newRequest()
newRequest in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected AnalyzeResponse newResponse()
newResponse in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected boolean resolveIndex(AnalyzeRequest request)
resolveIndex in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleCustomOperationAction.InternalRequest request)
checkRequestBlock in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected ShardsIterator shards(ClusterState state, TransportSingleCustomOperationAction.InternalRequest request)
TransportSingleCustomOperationActionshards in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>protected AnalyzeResponse shardOperation(AnalyzeRequest request, ShardId shardId) throws ElasticsearchException
TransportSingleCustomOperationActionshardOperation in class TransportSingleCustomOperationAction<AnalyzeRequest,AnalyzeResponse>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.