Class ShardSegments
java.lang.Object
org.elasticsearch.action.admin.indices.segments.ShardSegments
public class ShardSegments extends java.lang.Object implements Writeable, java.lang.Iterable<Segment>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Method Summary
Modifier and Type Method Description int
getNumberOfCommitted()
int
getNumberOfSearch()
java.util.List<Segment>
getSegments()
ShardRouting
getShardRouting()
java.util.Iterator<Segment>
iterator()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iterator
in interfacejava.lang.Iterable<Segment>
-
getShardRouting
-
getSegments
-
getNumberOfCommitted
public int getNumberOfCommitted() -
getNumberOfSearch
public int getNumberOfSearch() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.
-