org.elasticsearch.cluster.routing
Interface ShardIterator

All Superinterfaces:
ShardsIterator
All Known Implementing Classes:
PlainShardIterator

public interface ShardIterator
extends ShardsIterator

Allows to iterate over a set of shard instances (routing) within a shard id group.


Method Summary
 ShardIterator reset()
          Resets the iterator.
 ShardId shardId()
          The shard id this group relates to.
 
Methods inherited from interface org.elasticsearch.cluster.routing.ShardsIterator
assignedReplicasIncludingRelocating, asUnordered, equals, firstOrNull, hashCode, nextOrNull, remaining, size, sizeActive
 

Method Detail

shardId

ShardId shardId()
The shard id this group relates to.


reset

ShardIterator reset()
Resets the iterator.

Specified by:
reset in interface ShardsIterator


Copyright © 2009-2012. All Rights Reserved.