public class WGStandardResultSet extends WGAbstractResultSet
| Modifier and Type | Class and Description |
|---|---|
class |
WGStandardResultSet.FetchingIterator |
| Constructor and Description |
|---|
WGStandardResultSet(WGDatabase db,
WGResultSetCore core,
java.util.Map parameters,
java.lang.String query)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
WGContentList |
getContentList()
Called to retrieve a list of all content in this result set.
|
WGContentList |
getContentList(int start,
int length)
Called to retrieve a subset of content of this result set.
|
long |
getExecutionTime()
This method may return the execution time of the backend query in milliseconds.
|
de.innovationgate.utils.SkippingIterator<WGContent> |
getResultIterator()
Returns an iterator iterating over the results
|
boolean |
hasResults()
Indicates if the result set contains any results
|
void |
limitResults(int limit)
Call to limit the results to return to the given count.
|
int |
results()
Number of results that are in this results set.
|
close, isLimitingResultsInBackend, iteratorpublic WGStandardResultSet(WGDatabase db, WGResultSetCore core, java.util.Map parameters, java.lang.String query)
db - core - parameters - public WGContentList getContentList() throws WGAPIException
WGResultSetWGAPIExceptionpublic WGContentList getContentList(int start, int length) throws WGAPIException
WGResultSetstart - Starting index of contents to be retrieved. First index is 1.length - Number of contents to be retrievedWGAPIExceptionpublic int results()
throws WGBackendException
WGResultSetWGBackendExceptionpublic void limitResults(int limit)
throws WGBackendException
WGResultSetlimit - Maximum number of results to return.WGBackendExceptionpublic de.innovationgate.utils.SkippingIterator<WGContent> getResultIterator() throws WGAPIException
WGResultSetWGAPIExceptionpublic boolean hasResults()
throws WGBackendException
WGResultSetWGBackendExceptionpublic long getExecutionTime()
WGResultSet