public class DistributedLazyIterator extends DistributedIterator
cache
Constructor and Description |
---|
DistributedLazyIterator(org.apache.lucene.search.Sort sort,
int fetchSize,
int resultSize,
int maxResults,
int firstResult,
UUID id,
HashMap<UUID,ClusteredTopDocs> topDocsResponses,
ExecutorService asyncExecutor,
AdvancedCache<?,?> cache) |
Modifier and Type | Method and Description |
---|---|
void |
close()
This method must be called on your iterator once you have finished so that any local
or remote resources can be freed up.
|
protected Object |
fetchValue(ClusteredDoc scoreDoc,
ClusteredTopDocs topDoc) |
hasNext, next, remove
public DistributedLazyIterator(org.apache.lucene.search.Sort sort, int fetchSize, int resultSize, int maxResults, int firstResult, UUID id, HashMap<UUID,ClusteredTopDocs> topDocsResponses, ExecutorService asyncExecutor, AdvancedCache<?,?> cache)
public void close()
ResultIterator
close
in interface ResultIterator
close
in class DistributedIterator
protected Object fetchValue(ClusteredDoc scoreDoc, ClusteredTopDocs topDoc)
fetchValue
in class DistributedIterator
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.