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

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder<DeleteMappingRequest,DeleteMappingResponse>
      extended by org.elasticsearch.action.admin.indices.mapping.delete.DeleteMappingRequestBuilder
All Implemented Interfaces:
ActionRequestBuilder<DeleteMappingRequest,DeleteMappingResponse>

public class DeleteMappingRequestBuilder
extends BaseIndicesRequestBuilder<DeleteMappingRequest,DeleteMappingResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
client, request
 
Constructor Summary
DeleteMappingRequestBuilder(IndicesAdminClient indicesClient)
           
 
Method Summary
protected  void doExecute(ActionListener<DeleteMappingResponse> listener)
           
 DeleteMappingRequestBuilder setIndices(String... indices)
           
 DeleteMappingRequestBuilder setMasterNodeTimeout(TimeValue timeout)
          Sets the master node timeout in case the master has not yet been discovered.
 DeleteMappingRequestBuilder setType(String type)
          The type of the mapping to remove.
 
Methods inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
execute, execute, request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteMappingRequestBuilder

public DeleteMappingRequestBuilder(IndicesAdminClient indicesClient)
Method Detail

setIndices

public DeleteMappingRequestBuilder setIndices(String... indices)

setType

public DeleteMappingRequestBuilder setType(String type)
The type of the mapping to remove.


setMasterNodeTimeout

public DeleteMappingRequestBuilder setMasterNodeTimeout(TimeValue timeout)
Sets the master node timeout in case the master has not yet been discovered.


doExecute

protected void doExecute(ActionListener<DeleteMappingResponse> listener)
Specified by:
doExecute in class BaseIndicesRequestBuilder<DeleteMappingRequest,DeleteMappingResponse>


Copyright © 2009-2012. All Rights Reserved.