Streamable, Writeable, ToXContent, ToXContentObjectpublic class IndicesSegmentResponse extends BroadcastResponse
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>EMPTYEMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addCustomXContentFields(XContentBuilder builder,
ToXContent.Params params) |
Override in subclass to add custom fields following the common `_shards` field
|
java.util.Map<java.lang.String,IndexSegments> |
getIndices() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
declareBroadcastFields, getFailedShards, getShardFailures, getStatus, getSuccessfulShards, getTotalShards, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentremoteAddress, remoteAddresspublic java.util.Map<java.lang.String,IndexSegments> getIndices()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BroadcastResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class BroadcastResponsejava.io.IOExceptionprotected void addCustomXContentFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
BroadcastResponseaddCustomXContentFields in class BroadcastResponsejava.io.IOException