public static class MappingUpdatedAction.MappingUpdatedRequest extends MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest> implements IndicesRequest
TransportRequest.EmptyIndicesRequest.ReplaceableDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
MappingUpdatedRequest(String index,
String indexUUID,
String type,
CompressedString mappingSource,
long order,
String nodeId) |
| Modifier and Type | Method and Description |
|---|---|
String |
index() |
String |
indexUUID() |
String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
CompressedString |
mappingSource() |
String |
nodeId()
Returns null for not set.
|
long |
order()
Returns -1 if not set...
|
void |
readFrom(StreamInput in) |
String |
toString() |
String |
type() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
masterNodeTimeout, masterNodeTimeout, masterNodeTimeoutlistenerThreaded, listenerThreadedputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic MappingUpdatedRequest(String index, String indexUUID, String type, CompressedString mappingSource, long order, String nodeId)
public String index()
public IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic String[] indices()
IndicesRequestindices in interface IndicesRequestpublic String indexUUID()
public String type()
public CompressedString mappingSource()
public long order()
public String nodeId()
public ActionRequestValidationException validate()
validate in class ActionRequest<MappingUpdatedAction.MappingUpdatedRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest>IOExceptionCopyright © 2009–2016. All rights reserved.