Class IndexStats
- java.lang.Object
-
- org.elasticsearch.action.admin.indices.stats.IndexStats
-
- All Implemented Interfaces:
Iterable<IndexShardStats>
public class IndexStats extends Object implements Iterable<IndexShardStats>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexStats.IndexStatsBuilder
-
Constructor Summary
Constructors Constructor Description IndexStats(String index, String uuid, ShardStats[] shards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIndex()Map<Integer,IndexShardStats>getIndexShards()CommonStatsgetPrimaries()ShardStats[]getShards()CommonStatsgetTotal()StringgetUuid()Iterator<IndexShardStats>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
-
-
-
-
Constructor Detail
-
IndexStats
public IndexStats(String index, String uuid, ShardStats[] shards)
-
-
Method Detail
-
getIndex
public String getIndex()
-
getUuid
public String getUuid()
-
getShards
public ShardStats[] getShards()
-
getIndexShards
public Map<Integer,IndexShardStats> getIndexShards()
-
iterator
public Iterator<IndexShardStats> iterator()
- Specified by:
iteratorin interfaceIterable<IndexShardStats>
-
getTotal
public CommonStats getTotal()
-
getPrimaries
public CommonStats getPrimaries()
-
-