Module org.elasticsearch.server
Class IndicesSegmentResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.support.broadcast.BroadcastResponse
org.elasticsearch.action.admin.indices.segments.IndicesSegmentResponse
- All Implemented Interfaces:
- Writeable,- RefCounted,- ToXContent,- ToXContentObject
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.action.ActionResponseActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from class org.elasticsearch.action.support.broadcast.BroadcastResponseEMPTYFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddCustomXContentFields(XContentBuilder builder, ToXContent.Params params) Override in subclass to add custom fields following the common `_shards` fieldvoidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastResponsedeclareBroadcastFields, getFailedShards, getShardFailures, getStatus, getSuccessfulShards, getTotalShards, toXContentMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObjectisFragment
- 
Method Details- 
getIndices
- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- BroadcastResponse
- Throws:
- IOException
 
- 
addCustomXContentFieldsprotected void addCustomXContentFields(XContentBuilder builder, ToXContent.Params params) throws IOException Description copied from class:BroadcastResponseOverride in subclass to add custom fields following the common `_shards` field- Overrides:
- addCustomXContentFieldsin class- BroadcastResponse
- Throws:
- IOException
 
 
-