Class DeleteIndexTemplateRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.master.MasterNodeRequest<DeleteIndexTemplateRequest>
org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest
- All Implemented Interfaces:
- Writeable,- org.elasticsearch.core.RefCounted,- TaskAwareRequest
A request to delete an index template.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from class org.elasticsearch.action.support.master.MasterNodeRequestDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
- 
Constructor SummaryConstructorsConstructorDescriptionDeleteIndexTemplateRequest(String name)Constructs a new delete index request for the specified name.
- 
Method SummaryModifier and TypeMethodDescriptionname()The index template name to delete.Set the index template name to delete.validate()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.master.MasterNodeRequestmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutMethods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTask
- 
Constructor Details- 
DeleteIndexTemplateRequest- Throws:
- IOException
 
- 
DeleteIndexTemplateRequestpublic DeleteIndexTemplateRequest()
- 
DeleteIndexTemplateRequestConstructs a new delete index request for the specified name.
 
- 
- 
Method Details- 
nameSet the index template name to delete.
- 
validate- Specified by:
- validatein class- ActionRequest
 
- 
nameThe index template name to delete.
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- MasterNodeRequest<DeleteIndexTemplateRequest>
- Throws:
- IOException
 
 
-