IndicesRequest
, Streamable
, Writeable
, TaskAwareRequest
ShardUpgradeRequest
, ShardValidateQueryRequest
public abstract class BroadcastShardRequest extends TransportRequest implements IndicesRequest
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
protected OriginalIndices |
originalIndices |
Modifier | Constructor | Description |
---|---|---|
|
BroadcastShardRequest() |
|
protected |
BroadcastShardRequest(ShardId shardId,
OriginalIndices originalIndices) |
|
protected |
BroadcastShardRequest(ShardId shardId,
BroadcastRequest request) |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, 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 interface Writeable
writeTo
in class TransportRequest
java.io.IOException