public abstract class BroadcastShardRequest extends ChildTaskRequest implements IndicesRequest
TransportRequest.EmptyIndicesRequest.Replaceable| Modifier and Type | Field and Description |
|---|---|
protected OriginalIndices |
originalIndices |
headers| Modifier | Constructor and Description |
|---|---|
|
BroadcastShardRequest() |
protected |
BroadcastShardRequest(ShardId shardId,
BroadcastRequest request) |
protected |
BroadcastShardRequest(ShardId shardId,
OriginalIndices originalIndices) |
| Modifier and Type | Method and Description |
|---|---|
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) |
ShardId |
shardId() |
void |
writeTo(StreamOutput out) |
createTask, createTask, setParentTaskgetDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextprotected OriginalIndices originalIndices
public BroadcastShardRequest()
protected BroadcastShardRequest(ShardId shardId, BroadcastRequest request)
protected BroadcastShardRequest(ShardId shardId, OriginalIndices originalIndices)
public ShardId shardId()
public String[] indices()
IndicesRequestindices in interface IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ChildTaskRequestIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ChildTaskRequestIOExceptionCopyright © 2009–2017. All rights reserved.