org.alfresco.service.cmr.search
Interface ResultSet

All Superinterfaces:
java.lang.Iterable, ResultSetSPI

public interface ResultSet
extends ResultSetSPI

This is the common interface for both row (Alfresco node) and column (CMIS style property or function) based results. The meta-data for the results sets contains the detailed info on what columns are available. For row based result sets there is no selector - all the nodes returned do not have to have a specific type or aspect. For example, an FTS search on properties of type d:content has no type constraint implied or otherwise. Searches against properties have an implied type, but as there can be more than one property -> more than one type or aspect implied (eg via OR in FTS or lucene) they are ignored An iterable result set from a searcher query. Implementations must implement the indexes for row lookup as zero-based.


Method Summary
 
Methods inherited from interface org.alfresco.service.cmr.search.ResultSetSPI
close, getBulkFetch, getBulkFetchSize, getChildAssocRef, getChildAssocRefs, getFieldFacet, getNodeRef, getNodeRefs, getResultSetMetaData, getRow, getScore, getStart, hasMore, length, setBulkFetch, setBulkFetchSize
 
Methods inherited from interface java.lang.Iterable
iterator
 



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.