java.lang.Object
org.elasticsearch.action.support.TransportAction<GetRequest,GetResponse>
org.elasticsearch.action.support.single.shard.TransportSingleShardAction<GetRequest,GetResponse>
org.elasticsearch.action.get.TransportGetAction
Performs the get operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
TransportSingleShardAction.InternalRequest -
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.single.shard.TransportSingleShardAction
clusterService, indexNameExpressionResolver, projectResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver, ExecutorSelector executorSelector, NodeClient client) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidasyncShardOperation(GetRequest request, ShardId shardId, ActionListener<GetResponse> listener) protected ExecutorgetExecutor(ShardId shardId) protected Writeable.Reader<GetResponse> protected booleanresolveIndex(GetRequest request) protected voidresolveRequest(ProjectState state, TransportSingleShardAction<GetRequest, GetResponse>.InternalRequest request) protected GetResponseshardOperation(GetRequest request, ShardId shardId) protected ShardIteratorshards(ProjectState project, TransportSingleShardAction<GetRequest, GetResponse>.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, getProjectState, isSubActionMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportGetAction
@Inject public TransportGetAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver, ExecutorSelector executorSelector, NodeClient client)
-
-
Method Details
-
resolveIndex
- Specified by:
resolveIndexin classTransportSingleShardAction<GetRequest,GetResponse>
-
shards
protected ShardIterator shards(ProjectState project, TransportSingleShardAction<GetRequest, GetResponse>.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<GetRequest,GetResponse>
-
resolveRequest
protected void resolveRequest(ProjectState state, TransportSingleShardAction<GetRequest, GetResponse>.InternalRequest request) - Overrides:
resolveRequestin classTransportSingleShardAction<GetRequest,GetResponse>
-
asyncShardOperation
protected void asyncShardOperation(GetRequest request, ShardId shardId, ActionListener<GetResponse> listener) throws IOException - Overrides:
asyncShardOperationin classTransportSingleShardAction<GetRequest,GetResponse> - Throws:
IOException
-
shardOperation
- Specified by:
shardOperationin classTransportSingleShardAction<GetRequest,GetResponse> - Throws:
IOException
-
getResponseReader
- Specified by:
getResponseReaderin classTransportSingleShardAction<GetRequest,GetResponse>
-
getExecutor
- Overrides:
getExecutorin classTransportSingleShardAction<GetRequest,GetResponse>
-