|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.facet.util.MultiCategoryListIterator
public class MultiCategoryListIterator
Iterates over multiple CategoryListIterators, consuming the provided
iterators in order.
| Constructor Summary | |
|---|---|
MultiCategoryListIterator(CategoryListIterator... iterators)
Receives the iterators to iterate on |
|
| Method Summary | |
|---|---|
boolean |
init()
Fails if all given iterators fail to init |
long |
nextCategory()
Return a value larger than Integer.MAX_VALUE only if all
iterators are exhausted |
boolean |
skipTo(int docId)
Fails only if skipTo on all the provided iterators returned false |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiCategoryListIterator(CategoryListIterator... iterators)
| Method Detail |
|---|
public boolean init()
throws IOException
init in interface CategoryListIteratorIOException
public long nextCategory()
throws IOException
Integer.MAX_VALUE only if all
iterators are exhausted
nextCategory in interface CategoryListIteratorIOException
public boolean skipTo(int docId)
throws IOException
false
skipTo in interface CategoryListIteratorIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||