Class TransportShardMultiTermsVectorAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- 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 Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
TransportSingleShardAction.InternalRequest
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
clusterService, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportShardMultiTermsVectorAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected java.lang.StringgetExecutor(MultiTermVectorsShardRequest request, ShardId shardId)protected booleanisSubAction()Tells whether the action is a main one or a subaction.protected MultiTermVectorsShardResponsenewResponse()protected booleanresolveIndex(MultiTermVectorsShardRequest request)protected MultiTermVectorsShardResponseshardOperation(MultiTermVectorsShardRequest request, ShardId shardId)protected ShardIteratorshards(ClusterState state, TransportSingleShardAction.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.TransportSingleShardAction
asyncShardOperation, checkGlobalBlock, checkRequestBlock, doExecute, resolveRequest
-
-
-
-
Constructor Detail
-
TransportShardMultiTermsVectorAction
@Inject public TransportShardMultiTermsVectorAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
isSubAction
protected 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 classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
newResponse
protected MultiTermVectorsShardResponse newResponse()
- Specified by:
newResponsein classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
resolveIndex
protected boolean resolveIndex(MultiTermVectorsShardRequest request)
- Specified by:
resolveIndexin classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
shards
protected ShardIterator shards(ClusterState state, TransportSingleShardAction.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 classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
shardOperation
protected MultiTermVectorsShardResponse shardOperation(MultiTermVectorsShardRequest request, ShardId shardId)
- Specified by:
shardOperationin classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
getExecutor
protected java.lang.String getExecutor(MultiTermVectorsShardRequest request, ShardId shardId)
- Overrides:
getExecutorin classTransportSingleShardAction<MultiTermVectorsShardRequest,MultiTermVectorsShardResponse>
-
-