org.elasticsearch.cluster.routing
Class PlainShardIterator
java.lang.Object
org.elasticsearch.cluster.routing.PlainShardsIterator
org.elasticsearch.cluster.routing.PlainShardIterator
- All Implemented Interfaces:
- ShardIterator, ShardsIterator
public class PlainShardIterator
- extends PlainShardsIterator
- implements ShardIterator
PlainShardIterator
public PlainShardIterator(ShardId shardId,
List<ShardRouting> shards)
PlainShardIterator
public PlainShardIterator(ShardId shardId,
List<ShardRouting> shards,
int index)
reset
public ShardIterator reset()
- Description copied from interface:
ShardsIterator
- Resets the iterator.
- Specified by:
reset
in interface ShardIterator
- Specified by:
reset
in interface ShardsIterator
- Overrides:
reset
in class PlainShardsIterator
shardId
public ShardId shardId()
- Description copied from interface:
ShardIterator
- The shard id this group relates to.
- Specified by:
shardId
in interface ShardIterator
equals
public boolean equals(Object o)
- Specified by:
equals
in interface ShardsIterator
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface ShardsIterator
- Overrides:
hashCode
in class Object
Copyright © 2009-2012. All Rights Reserved.