public class CloudSearchIterator extends SearchIteratorBase
current, eval, MISSING_LAST, position, sortCriteria, start, stats| Constructor and Description |
|---|
CloudSearchIterator(Evaluator eval,
String query,
SearchBase.QueryParser queryParser,
String[] sortCriteria,
int start1)
Initialize the iterator
|
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
net.sf.saxon.om.SequenceIterator<net.sf.saxon.om.NodeInfo> |
getAnother() |
int |
getLimit() |
net.sf.saxon.om.NodeInfo |
next() |
void |
setLimit(int limit) |
close, current, getProperties, makeSortFromCriteria, positionpublic CloudSearchIterator(Evaluator eval, String query, SearchBase.QueryParser queryParser, String[] sortCriteria, int start1)
eval - the Evaluator holds context for the queryquery - the Lucene query to execute and iteratequeryParser - either blank (for the default qp), or 'xml' for the xml query parser TODO: enumsortCriteria - the sort order for the resultsstart1 - the 1-based start position at which to begin the iterationpublic net.sf.saxon.om.SequenceIterator<net.sf.saxon.om.NodeInfo> getAnother()
throws net.sf.saxon.trans.XPathException
net.sf.saxon.trans.XPathExceptionpublic long count()
public net.sf.saxon.om.NodeInfo next()
throws net.sf.saxon.trans.XPathException
net.sf.saxon.trans.XPathExceptionpublic void setLimit(int limit)
limit - the maximum number of results to retrieve per batchpublic int getLimit()
Copyright © 2013. All Rights Reserved.