T - public final class ResultIterator<T> extends Object implements com.mysema.commons.lang.CloseableIterator<T>
CloseableIterator implementation for Lucene query results| Constructor and Description |
|---|
ResultIterator(org.apache.lucene.search.ScoreDoc[] scoreDocs,
int offset,
org.apache.lucene.search.IndexSearcher searcher,
FieldSelector fieldSelector,
com.google.common.base.Function<org.apache.lucene.document.Document,T> transformer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void close()
close in interface com.mysema.commons.lang.CloseableIterator<T>close in interface Closeableclose in interface AutoCloseableCopyright © 2007–2015 Querydsl. All rights reserved.