|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A QueryResult object. Returned by Query.execute()
.
Method Summary | |
java.lang.String[] |
getColumnNames()
Returns an array of all the property names (column names) in this result set. |
NodeIterator |
getNodes()
Returns an iterator over all nodes that match the query. |
RowIterator |
getRows()
Returns an iterator over the Row s of the query result table. |
Method Detail |
public java.lang.String[] getColumnNames() throws RepositoryException
PropertyIterator
RepositoryException
- if an error occurs.public RowIterator getRows() throws RepositoryException
Row
s of the query result table.
If an ORDER BY
clause was specified in the query, then the
order of the returned properties in the iterator will reflect the order
specified in that clause. If no items match, an empty iterator is returned.
RowIterator
RepositoryException
- if an error occurs.public NodeIterator getNodes() throws RepositoryException
ORDER BY
clause was specified in the query, then the order of the returned nodes in the iterator
will reflect the order specified in that clause. If no nodes match, an empty iterator
is returned.
NodeIterator
RepositoryException
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |