Class DeleteIndexRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, AckedRequest, Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest

public class DeleteIndexRequest
extends AcknowledgedRequest<DeleteIndexRequest>
implements IndicesRequest.Replaceable
A request to delete an index. Best created with Requests.deleteIndexRequest(String).
  • Constructor Details

    • DeleteIndexRequest

      public DeleteIndexRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • DeleteIndexRequest

      public DeleteIndexRequest()
    • DeleteIndexRequest

      public DeleteIndexRequest​(java.lang.String index)
      Constructs a new delete index request for the specified index.
      Parameters:
      index - The index to delete. Use "_all" to delete all indices.
    • DeleteIndexRequest

      public DeleteIndexRequest​(java.lang.String... indices)
      Constructs a new delete index request for the specified indices.
      Parameters:
      indices - The indices to delete. Use "_all" to delete all indices.
  • Method Details