org.elasticsearch.cluster.routing
Class GroupShardsIterator

java.lang.Object
  extended by org.elasticsearch.cluster.routing.GroupShardsIterator
All Implemented Interfaces:
Iterable<ShardIterator>

public class GroupShardsIterator
extends Object
implements Iterable<ShardIterator>


Constructor Summary
GroupShardsIterator(Collection<ShardIterator> iterators)
           
 
Method Summary
 Iterator<ShardIterator> iterator()
           
 Collection<ShardIterator> iterators()
           
 int size()
           
 int totalSize()
           
 int totalSizeWith1ForEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupShardsIterator

public GroupShardsIterator(Collection<ShardIterator> iterators)
Method Detail

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.