Module org.elasticsearch.server
Class TransportGetMappingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.support.HandledTransportAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.support.master.info.TransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.admin.indices.mapping.get.TransportGetMappingsAction
- All Implemented Interfaces:
ActionWithReservedState<GetMappingsRequest>
public class TransportGetMappingsAction
extends TransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoMasterOperation(Task task, GetMappingsRequest request, String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.info.TransportClusterInfoAction
checkBlock, masterOperationMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportGetMappingsAction
@Inject public TransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService)
-
-
Method Details
-
doMasterOperation
protected void doMasterOperation(Task task, GetMappingsRequest request, String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener) - Specified by:
doMasterOperationin classTransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-