Module org.elasticsearch.server
Class TransportGetFieldMappingsIndexAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
org.elasticsearch.action.support.single.shard.TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
org.elasticsearch.action.admin.indices.mapping.get.TransportGetFieldMappingsIndexAction
public class TransportGetFieldMappingsIndexAction
extends TransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
Transport action used to retrieve the mappings related to fields that belong to a specific index
-
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, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetFieldMappingsIndexAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckRequestBlock(ProjectState state, TransportSingleShardAction<GetFieldMappingsIndexRequest, GetFieldMappingsResponse>.InternalRequest request) protected Writeable.Reader<GetFieldMappingsResponse> protected booleanresolveIndex(GetFieldMappingsIndexRequest request) protected GetFieldMappingsResponseshardOperation(GetFieldMappingsIndexRequest request, ShardId shardId) protected ShardsIteratorshards(ProjectState state, TransportSingleShardAction<GetFieldMappingsIndexRequest, GetFieldMappingsResponse>.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
asyncShardOperation, checkGlobalBlock, doExecute, getExecutor, getProjectState, isSubAction, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportGetFieldMappingsIndexAction
@Inject public TransportGetFieldMappingsIndexAction(ClusterService clusterService, TransportService transportService, IndicesService indicesService, ThreadPool threadPool, ActionFilters actionFilters, ProjectResolver projectResolver, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
resolveIndex
- Specified by:
resolveIndexin classTransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
-
shards
protected ShardsIterator shards(ProjectState state, TransportSingleShardAction<GetFieldMappingsIndexRequest, GetFieldMappingsResponse>.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<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
-
shardOperation
protected GetFieldMappingsResponse shardOperation(GetFieldMappingsIndexRequest request, ShardId shardId) - Specified by:
shardOperationin classTransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
-
getResponseReader
- Specified by:
getResponseReaderin classTransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
-
checkRequestBlock
protected ClusterBlockException checkRequestBlock(ProjectState state, TransportSingleShardAction<GetFieldMappingsIndexRequest, GetFieldMappingsResponse>.InternalRequest request) - Overrides:
checkRequestBlockin classTransportSingleShardAction<GetFieldMappingsIndexRequest,GetFieldMappingsResponse>
-