Interface ShardIterator
- All Superinterfaces:
java.lang.Comparable<ShardIterator>
,java.lang.Iterable<ShardRouting>
,ShardsIterator
- All Known Implementing Classes:
PlainShardIterator
,SearchShardIterator
public interface ShardIterator extends ShardsIterator, java.lang.Comparable<ShardIterator>
Allows to iterate over a set of shard instances (routing) within a shard id group.
-
Method Summary
Methods inherited from interface org.elasticsearch.cluster.routing.ShardsIterator
equals, getShardRoutings, hashCode, nextOrNull, remaining, size, sizeActive
-
Method Details
-
shardId
ShardId shardId()The shard id this group relates to. -
reset
void reset()Resets the iterator.- Specified by:
reset
in interfaceShardsIterator
-