public class DeleteMappingRequest extends AcknowledgedRequest<DeleteMappingRequest > implements IndicesRequest .Replaceable
TransportRequest.Empty IndicesRequest.Replaceable DEFAULT_ACK_TIMEOUT, timeoutDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
DeleteMappingRequest(String
Constructs a new delete mapping request against one or more indices.
|
| Modifier and Type | Method and Description |
|---|---|
String |
indices()
The indices the mappings will be removed from.
|
DeleteMappingRequest |
indices(String
Sets the indices this delete mapping operation will execute on.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
DeleteMappingRequest |
indicesOptions(IndicesOptions
|
void |
readFrom(StreamInput
|
String |
types()
The mapping types.
|
DeleteMappingRequest |
types(String
The type of the mappings to remove.
|
ActionRequestValidationException |
validate()
|
void |
writeTo(StreamOutput
|
ackTimeout, readTimeout, timeout, timeout, timeout, writeTimeoutmasterNodeTimeout, masterNodeTimeout, masterNodeTimeoutlistenerThreaded, listenerThreadedputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmasterNodeTimeoutpublic DeleteMappingRequest(String... indices)
public ActionRequestValidationExceptionvalidate()
public DeleteMappingRequestindices(String [] indices)
public String[] indices()
public IndicesOptionsindicesOptions()
IndicesRequest
public DeleteMappingRequestindicesOptions(IndicesOptions indicesOptions)
public String[] types()
public DeleteMappingRequesttypes(String ... types)
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
MasterNodeOperationRequest<DeleteMappingRequest>
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
MasterNodeOperationRequest<DeleteMappingRequest>
IOException