public class TransportBroadcastByNodeAction.NodeRequest extends TransportRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
protected Request |
indicesLevelRequest |
Constructor and Description |
---|
NodeRequest() |
NodeRequest(java.lang.String nodeId,
Request request,
java.util.List<ShardRouting> shards) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeId() |
java.util.List<ShardRouting> |
getShards() |
java.lang.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)
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
protected Request extends BroadcastRequest<Request> indicesLevelRequest
public NodeRequest()
public NodeRequest(java.lang.String nodeId, Request request, java.util.List<ShardRouting> shards)
public java.util.List<ShardRouting> getShards()
public java.lang.String getNodeId()
public java.lang.String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class TransportRequest
java.io.IOException