public class IndicesSegmentsRequest extends BroadcastRequest<IndicesSegmentsRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier and Type | Field and Description |
---|---|
protected boolean |
verbose |
indices
headers
Constructor and Description |
---|
IndicesSegmentsRequest() |
IndicesSegmentsRequest(String... indices) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(StreamInput in) |
boolean |
verbose()
true if detailed information about each segment should be returned,
false otherwise. |
void |
verbose(boolean v)
Sets the
verbose option. |
void |
writeTo(StreamOutput out) |
indices, indices, indicesOptions, indicesOptions, validate
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public IndicesSegmentsRequest()
public IndicesSegmentsRequest(String... indices)
public boolean verbose()
true
if detailed information about each segment should be returned,
false
otherwise.public void verbose(boolean v)
verbose
option.verbose()
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastRequest<IndicesSegmentsRequest>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastRequest<IndicesSegmentsRequest>
IOException
Copyright © 2009–2016. All rights reserved.