Class DeleteIndexRequest

All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, AckedRequest, Writeable, org.elasticsearch.core.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
      Throws:
    • DeleteIndexRequest

      public DeleteIndexRequest()
    • DeleteIndexRequest

      public DeleteIndexRequest( 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(... 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