public class LuceneMultiDBResultSet extends LuceneResultSet
| Modifier and Type | Class and Description |
|---|---|
class |
LuceneMultiDBResultSet.LuceneResultIterator |
| Constructor and Description |
|---|
LuceneMultiDBResultSet(org.apache.lucene.search.TopDocs hits,
WGA wga,
java.util.Map parameters,
org.apache.lucene.search.Query query,
long executionTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
de.innovationgate.webgate.api.WGContentList |
getContentList() |
de.innovationgate.webgate.api.WGContentList |
getContentList(int start,
int length) |
de.innovationgate.utils.SkippingIterator<de.innovationgate.webgate.api.WGContent> |
getResultIterator() |
boolean |
hasResults() |
boolean |
isLimitingResultsInBackend() |
void |
limitResults(int limit) |
int |
results() |
getExecutionTime, iteratorpublic LuceneMultiDBResultSet(org.apache.lucene.search.TopDocs hits,
WGA wga,
java.util.Map parameters,
org.apache.lucene.search.Query query,
long executionTime)
public de.innovationgate.webgate.api.WGContentList getContentList(int start,
int length)
public de.innovationgate.webgate.api.WGContentList getContentList()
public void close()
close in class LuceneResultSetpublic de.innovationgate.utils.SkippingIterator<de.innovationgate.webgate.api.WGContent> getResultIterator()
throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIExceptionpublic int results()
public void limitResults(int limit)
public boolean hasResults()
throws de.innovationgate.webgate.api.WGBackendException
de.innovationgate.webgate.api.WGBackendExceptionpublic boolean isLimitingResultsInBackend()