org.elasticsearch.action.admin.indices.segments
Class IndexSegments

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.segments.IndexSegments
All Implemented Interfaces:
Iterable<IndexShardSegments>

public class IndexSegments
extends Object
implements Iterable<IndexShardSegments>


Method Summary
 String getIndex()
           
 Map<Integer,IndexShardSegments> getShards()
           
 String index()
           
 Iterator<IndexShardSegments> iterator()
           
 Map<Integer,IndexShardSegments> shards()
          A shard id to index shard segments map (note, index shard segments is the replication shard group that maps to the shard id).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

index

public String index()

getIndex

public String getIndex()

shards

public Map<Integer,IndexShardSegments> shards()
A shard id to index shard segments map (note, index shard segments is the replication shard group that maps to the shard id).


getShards

public Map<Integer,IndexShardSegments> getShards()

iterator

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


Copyright © 2009-2012. All Rights Reserved.