Interface ShardIterator

All Superinterfaces:
Comparable<ShardIterator>, Countable, Iterable<ShardRouting>, ShardsIterator
All Known Implementing Classes:
PlainShardIterator

public interface ShardIterator extends ShardsIterator, Comparable<ShardIterator>
Allows to iterate over a set of shard instances (routing) within a shard id group.
  • Method Details

    • shardId

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

      void reset()
      Resets the iterator.
      Specified by:
      reset in interface ShardsIterator