com.day.crx.query
Interface CRXQueryResult

All Superinterfaces:
QueryResult

public interface CRXQueryResult
extends QueryResult

CRXQueryResult extends the JCR QueryResult interface with CRX specific features.


Method Summary
 RowIterator getOccurrences()
          Returns a RowIterator that contains the occurrence information for a certain property.
 
Methods inherited from interface javax.jcr.query.QueryResult
getColumnNames, getNodes, getRows, getSelectorNames
 

Method Detail

getOccurrences

RowIterator getOccurrences()
                           throws RepositoryException
Returns a RowIterator that contains the occurrence information for a certain property. The name of the property is the name of the first column. The name of the second column is always 'occurrences'. If no occurrence option had been set on the query that returned this result then this method returns null.

Returns:
occurrence information or null if none was requested.
Throws:
RepositoryException - if an error occurs.


Copyright © 1993-2010 Day Management AG. All Rights Reserved.