Class ShardSegments
- java.lang.Object
-
- org.elasticsearch.action.admin.indices.segments.ShardSegments
-
-
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.
-
-
-
Method Detail
-
iterator
public java.util.Iterator<Segment> iterator()
- Specified by:
iterator
in interfacejava.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.
-
-