Streamable
, Writeable
, ToXContent
, ToXContentObject
public class IndicesSegmentResponse extends BroadcastResponse
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY
EMPTY_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, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
remoteAddress, remoteAddress
public java.util.Map<java.lang.String,IndexSegments> getIndices()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BroadcastResponse
java.io.IOException
protected void addCustomXContentFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
BroadcastResponse
addCustomXContentFields
in class BroadcastResponse
java.io.IOException