|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.cache.search.LazyQueryResultIterator
public class LazyQueryResultIterator
| Constructor Summary | |
|---|---|
LazyQueryResultIterator(org.hibernate.search.engine.DocumentExtractor extractor,
CacheEntityLoader entityLoader,
org.apache.lucene.search.Hits hits,
org.apache.lucene.search.IndexSearcher searcher,
org.hibernate.search.engine.SearchFactoryImplementor searchFactory,
int first,
int max)
|
|
| Method Summary | |
|---|---|
void |
add(Object o)
This method is not supported in and should not be called. |
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 |
hasNext()
|
boolean |
hasPrevious()
|
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 |
Object |
next()
|
int |
nextIndex()
|
Object |
previous()
|
int |
previousIndex()
|
void |
remove()
This method is not supported and should not be used. |
void |
set(Object o)
This method is not supported in and should not be called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LazyQueryResultIterator(org.hibernate.search.engine.DocumentExtractor extractor,
CacheEntityLoader entityLoader,
org.apache.lucene.search.Hits hits,
org.apache.lucene.search.IndexSearcher searcher,
org.hibernate.search.engine.SearchFactoryImplementor searchFactory,
int first,
int max)
| Method Detail |
|---|
public void jumpToResult(int index)
throws IndexOutOfBoundsException
QueryResultIterator
jumpToResult in interface QueryResultIteratorindex - index to jump to.
IndexOutOfBoundsException - if the index is out of boundspublic void first()
QueryResultIterator
first in interface QueryResultIteratorpublic void last()
QueryResultIterator
last in interface QueryResultIteratorpublic void afterFirst()
QueryResultIterator
afterFirst in interface QueryResultIteratorpublic void beforeLast()
QueryResultIterator
beforeLast in interface QueryResultIteratorpublic boolean isFirst()
isFirst in interface QueryResultIteratorpublic boolean isLast()
isLast in interface QueryResultIteratorpublic boolean isAfterFirst()
isAfterFirst in interface QueryResultIteratorpublic boolean isBeforeLast()
isBeforeLast in interface QueryResultIteratorpublic void close()
QueryResultIterator
close in interface QueryResultIteratorpublic boolean hasNext()
hasNext in interface IteratorhasNext in interface ListIteratorpublic Object next()
next in interface Iteratornext in interface ListIteratorpublic boolean hasPrevious()
hasPrevious in interface ListIteratorpublic Object previous()
previous in interface ListIteratorpublic int nextIndex()
nextIndex in interface ListIteratorpublic int previousIndex()
previousIndex in interface ListIteratorpublic void remove()
remove in interface Iteratorremove in interface ListIterator
public void set(Object o)
throws UnsupportedOperationException
set in interface ListIteratoro -
UnsupportedOperationExceptionpublic void add(Object o)
add in interface ListIteratoro -
UnsupportedOperationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||