org.apache.jackrabbit.spi
Interface QueryInfo

All Known Implementing Classes:
QueryInfoImpl

public interface QueryInfo

QueryInfo is the the return value of RepositoryService.executeQuery(SessionInfo, String, String, Map, long, long, 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
 String[] getColumnNames()
           
 RangeIterator getRows()
           
 Name[] getSelectorNames()
           
 

Method Detail

getRows

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

getColumnNames

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

getSelectorNames

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


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