Module org.elasticsearch.server
Class TransportShardMultiTermsVectorAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
 
org.elasticsearch.action.support.single.shard.TransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
 
org.elasticsearch.action.termvectors.TransportShardMultiTermsVectorAction
public class TransportShardMultiTermsVectorAction
extends TransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse> 
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardActionTransportSingleShardAction.InternalRequest
- 
Field SummaryFieldsFields inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardActionclusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportActionactionName, logger, taskManager
- 
Constructor SummaryConstructorsConstructorDescriptionTransportShardMultiTermsVectorAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringgetExecutor(MultiTermVectorsShardRequest request, ShardId shardId) protected Writeable.Reader<MultiTermVectorsShardResponse>protected booleanTells whether the action is a main one or a subaction.protected booleanresolveIndex(MultiTermVectorsShardRequest request) protected MultiTermVectorsShardResponseshardOperation(MultiTermVectorsShardRequest request, ShardId shardId) protected ShardIteratorshards(ClusterState state, TransportSingleShardAction<MultiTermVectorsShardRequest, MultiTermVectorsShardResponse>.InternalRequest request) Returns the candidate shards to execute the operation on ornullthe execute the operation locally (the node that received the request)Methods inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardActionasyncShardOperation, checkGlobalBlock, checkRequestBlock, doExecute, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportActionexecute
- 
Field Details- 
TYPE
 
- 
- 
Constructor Details- 
TransportShardMultiTermsVectorAction@Inject public TransportShardMultiTermsVectorAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) 
 
- 
- 
Method Details- 
isSubActionprotected boolean isSubAction()Description copied from class:TransportSingleShardActionTells whether the action is a main one or a subaction. Used to decide whether we need to register the main transport handler. In fact if the action is a subaction, its execute method will be called locally to its parent action.- Overrides:
- isSubActionin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
- 
getResponseReader- Specified by:
- getResponseReaderin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
- 
resolveIndex- Specified by:
- resolveIndexin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
- 
shardsprotected ShardIterator shards(ClusterState state, TransportSingleShardAction<MultiTermVectorsShardRequest, MultiTermVectorsShardResponse>.InternalRequest request) Description copied from class:TransportSingleShardActionReturns the candidate shards to execute the operation on ornullthe execute the operation locally (the node that received the request)- Specified by:
- shardsin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
- 
shardOperationprotected MultiTermVectorsShardResponse shardOperation(MultiTermVectorsShardRequest request, ShardId shardId) - Specified by:
- shardOperationin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
- 
getExecutor- Overrides:
- getExecutorin class- TransportSingleShardAction<MultiTermVectorsShardRequest,- MultiTermVectorsShardResponse> 
 
 
-