Class TransportGetMappingsAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- 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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.HandledTransportAction
HandledTransportAction.ChannelActionListener<Response extends TransportResponse,Request extends TransportRequest>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
logger
-
-
Constructor Summary
Constructors Constructor Description TransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterBlockException
checkBlock(GetMappingsRequest request, ClusterState state)
protected void
doMasterOperation(GetMappingsRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener)
protected java.lang.String
executor()
protected GetMappingsResponse
newResponse()
-
Methods inherited from class org.elasticsearch.action.support.master.info.TransportClusterInfoAction
masterOperation
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation, read
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportGetMappingsAction
@Inject public TransportGetMappingsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, IndicesService indicesService)
-
-
Method Detail
-
executor
protected java.lang.String executor()
- Overrides:
executor
in classTransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-
checkBlock
protected ClusterBlockException checkBlock(GetMappingsRequest request, ClusterState state)
- Specified by:
checkBlock
in classTransportMasterNodeAction<GetMappingsRequest,GetMappingsResponse>
-
newResponse
protected GetMappingsResponse newResponse()
- Specified by:
newResponse
in classTransportMasterNodeAction<GetMappingsRequest,GetMappingsResponse>
- Returns:
- a new response instance. Typically this is used for serialization using the
Streamable.readFrom(StreamInput)
method.
-
doMasterOperation
protected void doMasterOperation(GetMappingsRequest request, java.lang.String[] concreteIndices, ClusterState state, ActionListener<GetMappingsResponse> listener)
- Specified by:
doMasterOperation
in classTransportClusterInfoAction<GetMappingsRequest,GetMappingsResponse>
-
-