public abstract class BroadcastShardOperationRequest extends TransportRequest implements IndicesRequest
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
protected OriginalIndices |
originalIndices |
Modifier | Constructor and Description |
---|---|
protected |
BroadcastShardOperationRequest() |
protected |
BroadcastShardOperationRequest(ShardId shardId,
BroadcastOperationRequest request) |
protected |
BroadcastShardOperationRequest(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) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
protected OriginalIndices originalIndices
protected BroadcastShardOperationRequest()
protected BroadcastShardOperationRequest(ShardId shardId, BroadcastOperationRequest request)
protected BroadcastShardOperationRequest(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 TransportMessage<TransportRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportRequest>
IOException
Copyright © 2009–2015. All rights reserved.