java.lang.Object
org.elasticsearch.action.admin.indices.segments.ShardSegments
All Implemented Interfaces:
java.lang.Iterable<Segment>, Writeable

public class ShardSegments
extends java.lang.Object
implements Writeable, java.lang.Iterable<Segment>
  • Method Details

    • iterator

      public java.util.Iterator<Segment> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<Segment>
    • getShardRouting

      public ShardRouting getShardRouting()
    • getSegments

      public java.util.List<Segment> getSegments()
    • getNumberOfCommitted

      public int getNumberOfCommitted()
    • getNumberOfSearch

      public int getNumberOfSearch()
    • 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
      Throws:
      java.io.IOException