org.elasticsearch.action.admin.indices.warmer.delete
Class DeleteWarmerRequest
java.lang.Object
org.elasticsearch.action.support.master.MasterNodeOperationRequest
org.elasticsearch.action.admin.indices.warmer.delete.DeleteWarmerRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class DeleteWarmerRequest
- extends MasterNodeOperationRequest
A request to delete an index warmer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteWarmerRequest
public DeleteWarmerRequest(String name)
- Constructs a new delete warmer request for the specified name.
- Parameters:
name:
- the name (or wildcard expression) of the warmer to match, null to delete all.
validate
public ActionRequestValidationException validate()
name
public DeleteWarmerRequest name(@Nullable
String name)
- The name (or wildcard expression) of the index warmer to delete, or null
to delete all warmers.
indices
public DeleteWarmerRequest indices(String[] indices)
- Sets the indices this put mapping operation will execute on.
indices
public String[] indices()
- The indices the mappings will be put.
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class MasterNodeOperationRequest
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class MasterNodeOperationRequest
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.