public class BroadcastRequest<Request extends BroadcastRequest<Request>> extends ActionRequest implements IndicesRequest.Replaceable
TransportRequest.EmptyIndicesRequest.Replaceable| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
indices |
| Modifier | Constructor and Description |
|---|---|
|
BroadcastRequest() |
protected |
BroadcastRequest(java.lang.String[] indices) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
indices()
Returns the array of indices that the action relates to
|
Request |
indices(java.lang.String... indices)
Sets the indices that the action relates to.
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
Request |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResultgetParentTask, setParentTaskremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic BroadcastRequest()
protected BroadcastRequest(java.lang.String[] indices)
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestpublic final Request indices(java.lang.String... indices)
IndicesRequest.Replaceableindices in interface IndicesRequest.Replaceablepublic ActionRequestValidationException validate()
validate in class ActionRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions in interface IndicesRequestpublic final Request indicesOptions(IndicesOptions indicesOptions)
public void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class ActionRequestjava.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOException