public class TransportGetFieldMappingsIndexAction extends TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
TransportSingleShardAction.InternalRequest| Modifier and Type | Field | Description |
|---|---|---|
protected ClusterService |
clusterService |
deprecationLogger, logger, settingsactionName, indexNameExpressionResolver, taskManager, threadPooltransportService| 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, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoExecute, execute, execute, execute, executecheckGlobalBlock, doExecute, isSubAction, resolveRequestprotected 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)
TransportSingleShardActionnull 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>