public class WGResultSetImpl extends java.lang.Object implements WGResultSetCore
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NS_RSS1_NETSCAPE |
static java.lang.String |
NS_RSS1_PURL |
| Constructor and Description |
|---|
WGResultSetImpl(WGDatabase db,
org.dom4j.Document doc) |
| Modifier and Type | Method and Description |
|---|---|
WGDocumentCore |
createDocumentImpl(org.dom4j.Element element,
java.lang.String key) |
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.
|
public static final java.lang.String NS_RSS1_NETSCAPE
public static final java.lang.String NS_RSS1_PURL
public WGResultSetImpl(WGDatabase db, org.dom4j.Document doc)
public java.util.List getContentList()
WGResultSetCoregetContentList in interface WGResultSetCoreWGResultSetCore.getContentList()public java.util.List getContentList(int start,
int length)
WGResultSetCoregetContentList in interface WGResultSetCorestart - Starting index of contents to be retrieved. First index is 1.length - Number of contents to be retrievedWGResultSetCore.getContentList(int, int)public WGDocumentCore createDocumentImpl(org.dom4j.Element element, java.lang.String key)
public int results()
WGResultSetCoreresults in interface WGResultSetCoreWGResultSetCore.results()public boolean isReturnsKeys()
WGResultSetCoreisReturnsKeys in interface WGResultSetCorepublic java.util.List getColumnNames()
WGResultSetCoregetColumnNames in interface WGResultSetCorepublic boolean isLimitingResults()
WGResultSetCoreWGDatabase.QUERYOPTION_MAXRESULTS. False means that the result set does not limit itself, and the limit must be enforced by WGA.isLimitingResults in interface WGResultSetCore