public class TransportBroadcastByNodeAction.NodeRequest extends ChildTaskRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
protected Request |
indicesLevelRequest |
headers
Constructor and Description |
---|
NodeRequest() |
NodeRequest(String nodeId,
Request request,
List<ShardRouting> shards) |
Modifier and Type | Method and Description |
---|---|
String |
getNodeId() |
List<ShardRouting> |
getShards() |
String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
createTask, createTask, setParentTask
getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
protected Request extends BroadcastRequest indicesLevelRequest
public NodeRequest()
public NodeRequest(String nodeId, Request request, List<ShardRouting> shards)
public List<ShardRouting> getShards()
public String getNodeId()
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ChildTaskRequest
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ChildTaskRequest
IOException
Copyright © 2009–2016. All rights reserved.