public class TransportTermVectorsAction extends TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
TransportSingleShardAction.InternalRequest
clusterService, transportService
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportTermVectorsAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(TermVectorsRequest request,
ActionListener<TermVectorsResponse> listener) |
protected TermVectorsResponse |
newResponse() |
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 or
null the execute
the operation locally (the node that received the request) |
checkGlobalBlock, checkRequestBlock, isSubAction
doExecute, execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportTermVectorsAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected void doExecute(TermVectorsRequest request, ActionListener<TermVectorsResponse> listener)
doExecute
in class TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
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<TermVectorsRequest,TermVectorsResponse>
protected boolean resolveIndex(TermVectorsRequest request)
resolveIndex
in class TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
protected void resolveRequest(ClusterState state, TransportSingleShardAction.InternalRequest request)
resolveRequest
in class TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
protected TermVectorsResponse shardOperation(TermVectorsRequest request, ShardId shardId)
shardOperation
in class TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
protected TermVectorsResponse newResponse()
newResponse
in class TransportSingleShardAction<TermVectorsRequest,TermVectorsResponse>
Copyright © 2009–2016. All rights reserved.