public static class MappingUpdatedAction.MappingUpdatedRequest extends MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest> implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeout
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, masterNodeTimeout
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public MappingUpdatedRequest(String index, String indexUUID, String type, CompressedString mappingSource, long order, String nodeId)
public String index()
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public 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 Streamable
readFrom
in class MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class MasterNodeOperationRequest<MappingUpdatedAction.MappingUpdatedRequest>
IOException
Copyright © 2009–2015. All rights reserved.