org.elasticsearch.action.admin.indices.stats
Class IndexStats

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.stats.IndexStats
All Implemented Interfaces:
Iterable<IndexShardStats>

public class IndexStats
extends Object
implements Iterable<IndexShardStats>


Constructor Summary
IndexStats(String index, ShardStats[] shards)
           
 
Method Summary
 CommonStats getPrimaries()
           
 CommonStats getTotal()
           
 String index()
           
 Map<Integer,IndexShardStats> indexShards()
           
 Iterator<IndexShardStats> iterator()
           
 CommonStats primaries()
           
 ShardStats[] shards()
           
 CommonStats total()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexStats

public IndexStats(String index,
                  ShardStats[] shards)
Method Detail

index

public String index()

shards

public ShardStats[] shards()

indexShards

public Map<Integer,IndexShardStats> indexShards()

iterator

public Iterator<IndexShardStats> iterator()
Specified by:
iterator in interface Iterable<IndexShardStats>

getTotal

public CommonStats getTotal()

total

public CommonStats total()

getPrimaries

public CommonStats getPrimaries()

primaries

public CommonStats primaries()


Copyright © 2009-2012. All Rights Reserved.