org.apache.jackrabbit.spi
Interface QueryInfo


public interface QueryInfo

QueryInfo is the the return value of RepositoryService.executeQuery(SessionInfo, String, String, Map) which is used to run a query on the RepositoryService. It provides access to the rows of the query result as well as to the column names.

See Also:
QueryResult.getRows(), QueryResult.getColumnNames(), QueryResult.getNodes()

Method Summary
 Name[] getColumnNames()
           
 RangeIterator getRows()
           
 

Method Detail

getRows

RangeIterator getRows()
Returns:
an iterator over the QueryResultRows.
See Also:
QueryResult.getRows()

getColumnNames

Name[] getColumnNames()
Returns:
an array of Names representing the column names of the query result.
See Also:
QueryResult.getColumnNames()


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.