public abstract class BroadcastShardRequest extends ChildTaskRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.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, setParentTask
getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
protected OriginalIndices originalIndices
public BroadcastShardRequest()
protected BroadcastShardRequest(ShardId shardId, BroadcastRequest request)
protected BroadcastShardRequest(ShardId shardId, OriginalIndices originalIndices)
public ShardId shardId()
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.