public class DeleteWarmerRequest extends AcknowledgedRequest<DeleteWarmerRequest> implements IndicesRequest.Replaceable
SearchRequest)
tuple from the clusters metadata.TransportRequest.EmptyIndicesRequest.ReplaceableDEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
DeleteWarmerRequest() |
DeleteWarmerRequest(String... names)
Constructs a new delete warmer request for the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
indices()
The indices the mappings will be put.
|
DeleteWarmerRequest |
indices(String... indices)
Sets the indices this put mapping operation will execute on.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
DeleteWarmerRequest |
indicesOptions(IndicesOptions indicesOptions) |
String[] |
names()
The name to delete.
|
DeleteWarmerRequest |
names(String... names)
The name (or wildcard expression) of the index warmer to delete, or null
to delete all warmers.
|
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeoutmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutcreateTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmasterNodeTimeoutpublic DeleteWarmerRequest()
public DeleteWarmerRequest(String... names)
names - the name (or wildcard expression) of the warmer to match, null to delete all.public ActionRequestValidationException validate()
validate in class ActionRequest<DeleteWarmerRequest>public DeleteWarmerRequest names(@Nullable String... names)
public DeleteWarmerRequest indices(String... indices)
indices in interface IndicesRequest.Replaceablepublic String[] indices()
indices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic DeleteWarmerRequest indicesOptions(IndicesOptions indicesOptions)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeRequest<DeleteWarmerRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeRequest<DeleteWarmerRequest>IOExceptionCopyright © 2009–2017. All rights reserved.