public interface WGResultSetCore
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getColumnNames()
Returns the name of result row columns, if this query serves multi column results
Result set cores not supporting this type of results should return null here
|
java.util.List |
getContentList()
Called to retrieve a list of all content in this result set.
|
java.util.List |
getContentList(int start,
int length)
Called to retrieve a subset of content of this result set.
|
boolean |
isLimitingResults()
Indicates if the query type does honor result size limits, give via
WGDatabase.QUERYOPTION_MAXRESULTS. |
boolean |
isReturnsKeys()
Determines, if this result set core only returns WGContentKey-Objects, to allow the WGAPI
to rely on cached document objects.
|
int |
results()
Returns the number of contents in this result set.
|
int results()
throws WGBackendException
WGBackendExceptionjava.util.List getContentList(int start,
int length)
throws WGAPIException
start - Starting index of contents to be retrieved. First index is 1.length - Number of contents to be retrievedWGAPIExceptionjava.util.List getContentList()
throws WGAPIException
WGAPIExceptionboolean isReturnsKeys()
boolean isLimitingResults()
WGDatabase.QUERYOPTION_MAXRESULTS. False means that the result set does not limit itself, and the limit must be enforced by WGA.java.util.List getColumnNames()
throws WGAPIException
WGAPIException