Class IndexSegments
java.lang.Object
org.elasticsearch.action.admin.indices.segments.IndexSegments
- All Implemented Interfaces:
java.lang.Iterable<IndexShardSegments>
public class IndexSegments extends java.lang.Object implements java.lang.Iterable<IndexShardSegments>
-
Method Summary
Modifier and Type Method Description java.lang.String
getIndex()
java.util.Map<java.lang.Integer,IndexShardSegments>
getShards()
A shard id to index shard segments map (note, index shard segments is the replication shard group that maps to the shard id).java.util.Iterator<IndexShardSegments>
iterator()
-
Method Details
-
getIndex
public java.lang.String getIndex() -
getShards
A shard id to index shard segments map (note, index shard segments is the replication shard group that maps to the shard id). -
iterator
- Specified by:
iterator
in interfacejava.lang.Iterable<IndexShardSegments>
-