org.elasticsearch.action.admin.indices.mapping.delete
Class TransportDeleteMappingAction

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.action.support.BaseAction<Request,Response>
          extended by org.elasticsearch.action.support.master.TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>
              extended by org.elasticsearch.action.admin.indices.mapping.delete.TransportDeleteMappingAction
All Implemented Interfaces:
Action<DeleteMappingRequest,DeleteMappingResponse>

public class TransportDeleteMappingAction
extends TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>

Delete mapping action.


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
clusterService, threadPool, transportService
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
TransportDeleteMappingAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataMappingService metaDataMappingService, TransportDeleteByQueryAction deleteByQueryAction, TransportRefreshAction refreshAction)
           
 
Method Summary
protected  void checkBlock(DeleteMappingRequest request, ClusterState state)
           
protected  DeleteMappingResponse masterOperation(DeleteMappingRequest request, ClusterState state)
           
protected  DeleteMappingRequest newRequest()
           
protected  DeleteMappingResponse newResponse()
           
protected  java.lang.String transportAction()
           
 
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeOperationAction
doExecute, localExecute, processBeforeDelegationToMaster
 
Methods inherited from class org.elasticsearch.action.support.BaseAction
execute, execute
 
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportDeleteMappingAction

@Inject
public TransportDeleteMappingAction(Settings settings,
                                           TransportService transportService,
                                           ClusterService clusterService,
                                           ThreadPool threadPool,
                                           MetaDataMappingService metaDataMappingService,
                                           TransportDeleteByQueryAction deleteByQueryAction,
                                           TransportRefreshAction refreshAction)
Method Detail

transportAction

protected java.lang.String transportAction()
Specified by:
transportAction in class TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>

newRequest

protected DeleteMappingRequest newRequest()
Specified by:
newRequest in class TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>

newResponse

protected DeleteMappingResponse newResponse()
Specified by:
newResponse in class TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>

checkBlock

protected void checkBlock(DeleteMappingRequest request,
                          ClusterState state)
Overrides:
checkBlock in class TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>

masterOperation

protected DeleteMappingResponse masterOperation(DeleteMappingRequest request,
                                                ClusterState state)
                                         throws ElasticSearchException
Specified by:
masterOperation in class TransportMasterNodeOperationAction<DeleteMappingRequest,DeleteMappingResponse>
Throws:
ElasticSearchException