| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryIterator
Iterates over query results
| Method Summary | |
|---|---|
|  void | afterFirst()Jumps to the one-after-the-first result | 
|  void | beforeLast()Jumps to the one-before-the-last result | 
|  void | close()This method must be called on your iterator once you have finished so that Lucene resources can be freed up. | 
|  void | first()Jumps to the first result | 
|  boolean | isAfterFirst() | 
|  boolean | isBeforeLast() | 
|  boolean | isFirst() | 
|  boolean | isLast() | 
|  void | jumpToResult(int index)Jumps to a specific index in the iterator. | 
|  void | last()Jumps to the last result | 
| Methods inherited from interface java.util.ListIterator | 
|---|
| add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set | 
| Method Detail | 
|---|
void jumpToResult(int index)
                  throws IndexOutOfBoundsException
index - index to jump to.
IndexOutOfBoundsException - if the index is out of boundsvoid first()
void last()
void afterFirst()
void beforeLast()
boolean isFirst()
boolean isLast()
boolean isAfterFirst()
boolean isBeforeLast()
void close()
| 
 | --> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||