public class PlainShardIterator extends PlainShardsIterator implements ShardIterator
| Constructor and Description |
|---|
PlainShardIterator(ShardId shardId,
List<ShardRouting> shards)
Creates a
PlainShardIterator instance that iterates over a subset of the given shards
this the a given shardId. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ShardIterator o) |
boolean |
equals(Object o) |
int |
hashCode() |
ShardId |
shardId()
The shard id this group relates to.
|
assignedReplicasIncludingRelocating, asUnordered, nextOrNull, remaining, reset, size, sizeActiveclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitresetassignedReplicasIncludingRelocating, asUnordered, nextOrNull, remaining, size, sizeActivepublic PlainShardIterator(ShardId shardId, List<ShardRouting> shards)
PlainShardIterator instance that iterates over a subset of the given shards
this the a given shardId.shardId - shard id of the groupshards - shards to iteratepublic ShardId shardId()
ShardIteratorshardId in interface ShardIteratorpublic boolean equals(Object o)
equals in interface ShardsIteratorequals in class Objectpublic int hashCode()
hashCode in interface ShardsIteratorhashCode in class Objectpublic int compareTo(ShardIterator o)
compareTo in interface Comparable<ShardIterator>Copyright © 2009–2016. All rights reserved.