Class IndicesSegmentResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

public class IndicesSegmentResponse
extends BroadcastResponse
  • Method Details

    • getIndices

      public java.util.Map<java.lang.String,​IndexSegments> getIndices()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BroadcastResponse
      Throws:
      java.io.IOException
    • addCustomXContentFields

      protected void addCustomXContentFields​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Description copied from class: BroadcastResponse
      Override in subclass to add custom fields following the common `_shards` field
      Overrides:
      addCustomXContentFields in class BroadcastResponse
      Throws:
      java.io.IOException