Module org.elasticsearch.server
Class TransportTermVectorsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<TermVectorsRequest,TermVectorsResponse>
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, indexNameExpressionResolver, projectResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportTermVectorsAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidasyncShardOperation(TermVectorsRequest request, ShardId shardId, ActionListener<TermVectorsResponse> listener) protected Writeable.Reader<TermVectorsResponse> protected booleanresolveIndex(TermVectorsRequest request) protected voidresolveRequest(ProjectState state, TransportSingleShardAction<TermVectorsRequest, TermVectorsResponse>.InternalRequest request) protected TermVectorsResponseshardOperation(TermVectorsRequest request, ShardId shardId) protected ShardIteratorshards(ProjectState project, TransportSingleShardAction<TermVectorsRequest, TermVectorsResponse>.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
checkGlobalBlock, checkRequestBlock, doExecute, getExecutor, getProjectState, isSubActionMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportTermVectorsAction
@Inject public TransportTermVectorsAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
shards
protected ShardIterator shards(ProjectState project, TransportSingleShardAction<TermVectorsRequest, TermVectorsResponse>.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
- Specified by:
resolveIndexin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
resolveRequest
protected void resolveRequest(ProjectState state, TransportSingleShardAction<TermVectorsRequest, TermVectorsResponse>.InternalRequest request) - Overrides:
resolveRequestin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
asyncShardOperation
protected void asyncShardOperation(TermVectorsRequest request, ShardId shardId, ActionListener<TermVectorsResponse> listener) throws IOException - Overrides:
asyncShardOperationin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse> - Throws:
IOException
-
shardOperation
- Specified by:
shardOperationin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
getResponseReader
- Specified by:
getResponseReaderin classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-