public interface QueryResult
Query.execute().| Modifier and Type | Method and Description |
|---|---|
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
Rows of the query result table. |
java.lang.String[] getColumnNames()
throws RepositoryException
PropertyIteratorRepositoryException - if an error occurs.RowIterator getRows() throws RepositoryException
Rows 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.RowIteratorRepositoryException - if an error occurs.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.NodeIteratorRepositoryException - if an error occurs.Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.