Class TransportTermVectorsAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.single.shard.TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
- org.elasticsearch.action.termvectors.TransportTermVectorsAction
-
public class TransportTermVectorsAction extends TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
Performs the get operation.
-
-
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 TransportTermVectorsAction(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(TermVectorsRequest request, ShardId shardId)protected TermVectorsResponsenewResponse()protected booleanresolveIndex(TermVectorsRequest request)protected voidresolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)protected TermVectorsResponseshardOperation(TermVectorsRequest 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, isSubAction
-
-
-
-
Constructor Detail
-
TransportTermVectorsAction
@Inject public TransportTermVectorsAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
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<TermVectorsRequest,TermVectorsResponse>
-
resolveIndex
protected boolean resolveIndex(TermVectorsRequest request)
- Specified by:
resolveIndexin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
resolveRequest
protected void resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)
- Overrides:
resolveRequestin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
shardOperation
protected TermVectorsResponse shardOperation(TermVectorsRequest request, ShardId shardId)
- Specified by:
shardOperationin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
newResponse
protected TermVectorsResponse newResponse()
- Specified by:
newResponsein classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
getExecutor
protected java.lang.String getExecutor(TermVectorsRequest request, ShardId shardId)
- Overrides:
getExecutorin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
-