public class TransportGetAction extends TransportSingleShardAction<GetRequest,GetResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportGetAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected GetResponse |
newResponse() |
protected boolean |
resolveIndex(GetRequest request) |
protected void |
resolveRequest(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
protected GetResponse |
shardOperation(GetRequest request,
ShardId shardId) |
protected ShardIterator |
shards(ClusterState state,
TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on or
null the execute
the operation locally (the node that received the request) |
checkGlobalBlock, checkRequestBlock, doExecute, isSubAction
doExecute, execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportGetAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected boolean resolveIndex(GetRequest request)
resolveIndex
in class TransportSingleShardAction<GetRequest,GetResponse>
protected ShardIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardAction
null
the execute
the operation locally (the node that received the request)shards
in class TransportSingleShardAction<GetRequest,GetResponse>
protected void resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)
resolveRequest
in class TransportSingleShardAction<GetRequest,GetResponse>
protected GetResponse shardOperation(GetRequest request, ShardId shardId)
shardOperation
in class TransportSingleShardAction<GetRequest,GetResponse>
protected GetResponse newResponse()
newResponse
in class TransportSingleShardAction<GetRequest,GetResponse>