Class TransportGetMappingsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<Request,Response>
org.elasticsearch.action.support.master.info.TransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
org.elasticsearch.action.admin.indices.mapping.get.TransportGetMappingsAction
public class TransportGetMappingsAction extends TransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService) -
Method Summary
Modifier and Type Method Description protected voiddoMasterOperation(GetMappingsRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener)protected GetMappingsResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.info.TransportClusterInfoAction
checkBlock, executor, masterOperationMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportGetMappingsAction
@Inject public TransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService)
-
-
Method Details
-
read
- Specified by:
readin classTransportMasterNodeAction<GetMappingsRequest,GetMappingsResponse>- Throws:
java.io.IOException
-
doMasterOperation
protected void doMasterOperation(GetMappingsRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener)- Specified by:
doMasterOperationin classTransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-