|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResult
A QueryResult
object. Returned by Query.execute()
.
Method Summary | |
---|---|
java.lang.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 Row s of the result table. |
java.lang.String[] |
getSelectorNames()
Returns an array of all the selector names that were used in the query that created this result. |
Method Detail |
---|
java.lang.String[] getColumnNames() throws RepositoryException
String
array holding the column names.
RepositoryException
- if an error occurs.RowIterator getRows() throws RepositoryException
Row
s of the result table. The
rows are returned according to the ordering specified in the query.
RowIterator
RepositoryException
- 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
NodeIterator
RepositoryException
- 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.java.lang.String[] getSelectorNames() throws RepositoryException
String
array holding the selector names.
RepositoryException
- if an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |