org.elasticsearch.cluster.routing
Class GroupShardsIterator
java.lang.Object
org.elasticsearch.cluster.routing.GroupShardsIterator
- All Implemented Interfaces:
- Iterable<ShardIterator>
public class GroupShardsIterator
- extends Object
- implements Iterable<ShardIterator>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupShardsIterator
public GroupShardsIterator(Collection<ShardIterator> iterators)
totalSize
public int totalSize()
totalSizeWith1ForEmpty
public int totalSizeWith1ForEmpty()
size
public int size()
iterators
public Collection<ShardIterator> iterators()
iterator
public Iterator<ShardIterator> iterator()
- Specified by:
iterator
in interface Iterable<ShardIterator>
Copyright © 2009-2012. All Rights Reserved.