public abstract class BroadcastShardRequest extends TransportRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
protected OriginalIndices |
originalIndices |
Modifier | Constructor and Description |
---|---|
|
BroadcastShardRequest() |
protected |
BroadcastShardRequest(ShardId shardId,
BroadcastRequest request) |
protected |
BroadcastShardRequest(ShardId shardId,
OriginalIndices originalIndices) |
Modifier and Type | Method and Description |
---|---|
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.
|
ShardId |
shardId() |
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 OriginalIndices originalIndices
public BroadcastShardRequest()
protected BroadcastShardRequest(ShardId shardId, BroadcastRequest request)
protected BroadcastShardRequest(ShardId shardId, OriginalIndices originalIndices)
public ShardId shardId()
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