public class TransportGetFieldMappingsIndexAction extends TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
TransportSingleShardAction.InternalRequest
Modifier and Type | Field | Description |
---|---|---|
protected ClusterService |
clusterService |
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
transportService
Constructor | Description |
---|---|
TransportGetFieldMappingsIndexAction(Settings settings,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService,
ThreadPool threadPool,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method | Description |
---|---|---|
protected ClusterBlockException |
checkRequestBlock(ClusterState state,
TransportSingleShardAction.InternalRequest request) |
|
protected GetFieldMappingsResponse |
newResponse() |
|
protected boolean |
resolveIndex(GetFieldMappingsIndexRequest request) |
|
protected GetFieldMappingsResponse |
shardOperation(GetFieldMappingsIndexRequest request,
ShardId shardId) |
|
protected ShardsIterator |
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) |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doExecute, execute, execute, execute, execute
checkGlobalBlock, doExecute, isSubAction, resolveRequest
protected final ClusterService clusterService
@Inject public TransportGetFieldMappingsIndexAction(Settings settings, ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected boolean resolveIndex(GetFieldMappingsIndexRequest request)
resolveIndex
in class TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
protected ShardsIterator shards(ClusterState state, TransportSingleShardAction.InternalRequest request)
TransportSingleShardAction
null
the execute
the operation locally (the node that received the request)shards
in class TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
protected GetFieldMappingsResponse shardOperation(GetFieldMappingsIndexRequest request, ShardId shardId)
shardOperation
in class TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
protected GetFieldMappingsResponse newResponse()
newResponse
in class TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
protected ClusterBlockException checkRequestBlock(ClusterState state, TransportSingleShardAction.InternalRequest request)
checkRequestBlock
in class TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>