T
- public final class ResultIterator<T> extends Object implements com.mysema.commons.lang.CloseableIterator<T>
ResultIterator
is a CloseableIterator
implementation for Lucene query resultsConstructor and Description |
---|
ResultIterator(org.apache.lucene.search.ScoreDoc[] scoreDocs,
int offset,
org.apache.lucene.search.IndexSearcher searcher,
Set<String> fieldsToLoad,
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, wait
forEachRemaining
public void close()
close
in interface com.mysema.commons.lang.CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2007–2016 Querydsl. All rights reserved.