Class TransportTermVectorsAction
java.lang.Object
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, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportTermVectorsAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
asyncShardOperation(TermVectorsRequest request, ShardId shardId, ActionListener<TermVectorsResponse> listener)
protected String
getExecutor(TermVectorsRequest request, ShardId shardId)
protected Writeable.Reader<TermVectorsResponse>
protected boolean
resolveIndex(TermVectorsRequest request)
protected void
resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)
protected TermVectorsResponse
shardOperation(TermVectorsRequest request, ShardId shardId)
protected ShardIterator
shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on ornull
the execute the operation locally (the node that received the request)Methods inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
checkGlobalBlock, checkRequestBlock, doExecute, isSubAction
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportTermVectorsAction
@Inject public TransportTermVectorsAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
shards
protected ShardIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)Description copied from class:TransportSingleShardAction
Returns the candidate shards to execute the operation on ornull
the execute the operation locally (the node that received the request)- Specified by:
shards
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
resolveIndex
- Specified by:
resolveIndex
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
resolveRequest
protected void resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)- Overrides:
resolveRequest
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
asyncShardOperation
protected void asyncShardOperation(TermVectorsRequest request, ShardId shardId, ActionListener<TermVectorsResponse> listener) throws IOException- Overrides:
asyncShardOperation
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
- Throws:
IOException
-
shardOperation
- Specified by:
shardOperation
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
getResponseReader
- Specified by:
getResponseReader
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-
getExecutor
- Overrides:
getExecutor
in classTransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
-