Copyright© 2008-2022 Sitevision AB, all rights reserved.
public interface QueryResult
| Modifier and Type | Method and Description |
|---|---|
String[] |
getColumnNames()
Returns an array of all the column names in the table view of this result
set.
|
NodeIterator |
getNodes()
Returns an iterator over all nodes that match the query.
|
RowIterator |
getRows()
Returns an iterator over the
Rows of the result table. |
String[] |
getSelectorNames()
Returns an array of all the selector names that were used in the query
that created this result.
|
String[] getColumnNames() throws RepositoryException
String array holding the column names.RepositoryException - if an error occurs.RowIterator getRows() throws RepositoryException
Rows of the result table. The
rows are returned according to the ordering specified in the query.RowIteratorRepositoryException - if this call is the second time either
getRows or getNodes has been called on the
same QueryResult object or if another error occurs.NodeIterator getNodes() throws RepositoryException
NodeIteratorRepositoryException - if the query contains more than one selector,
if this call is the second time either getRows or
getNodes has been called on the same
QueryResult object or if another error occurs.String[] getSelectorNames() throws RepositoryException
String array holding the selector names.RepositoryException - if an error occurs.Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.