Class IndexSegments
- java.lang.Object
-
- org.elasticsearch.action.admin.indices.segments.IndexSegments
-
- All Implemented Interfaces:
Iterable<IndexShardSegments>
public class IndexSegments extends Object implements Iterable<IndexShardSegments>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndex()Map<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).Iterator<IndexShardSegments>iterator()-
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 Detail
-
getIndex
public String getIndex()
-
getShards
public Map<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).
-
iterator
public Iterator<IndexShardSegments> iterator()
- Specified by:
iteratorin interfaceIterable<IndexShardSegments>
-
-