org.alfresco.repo.search
Class AbstractResultSet

java.lang.Object
  extended by org.alfresco.repo.search.AbstractResultSet
All Implemented Interfaces:
java.lang.Iterable, org.alfresco.service.cmr.search.ResultSet, org.alfresco.service.cmr.search.ResultSetSPI
Direct Known Subclasses:
ChildAssocRefResultSet, DetachedResultSet, LuceneResultSet

public abstract class AbstractResultSet
extends java.lang.Object
implements org.alfresco.service.cmr.search.ResultSet

Common result set implementation.


Constructor Summary
AbstractResultSet()
          Default constructor
 
Method Summary
 void close()
           
 boolean getBulkFetch()
          Do we bulk fetch
 int getBulkFetchSize()
          Get the bulk fetch size.
 java.util.List getChildAssocRefs()
           
 java.util.List getFieldFacet(java.lang.String field)
           
 java.util.List getNodeRefs()
           
 float getScore(int n)
           
 boolean setBulkFetch(boolean bulkFetch)
          Bulk fetch results in the cache
 int setBulkFetchSize(int bulkFetchSize)
          Set the bulk fetch size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.service.cmr.search.ResultSetSPI
getChildAssocRef, getNodeRef, getResultSetMetaData, getRow, getStart, hasMore, length
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

AbstractResultSet

public AbstractResultSet()
Default constructor

Method Detail

getScore

public float getScore(int n)
Specified by:
getScore in interface org.alfresco.service.cmr.search.ResultSetSPI

close

public void close()
Specified by:
close in interface org.alfresco.service.cmr.search.ResultSetSPI

getNodeRefs

public java.util.List getNodeRefs()
Specified by:
getNodeRefs in interface org.alfresco.service.cmr.search.ResultSetSPI

getChildAssocRefs

public java.util.List getChildAssocRefs()
Specified by:
getChildAssocRefs in interface org.alfresco.service.cmr.search.ResultSetSPI

setBulkFetch

public boolean setBulkFetch(boolean bulkFetch)
Bulk fetch results in the cache

Specified by:
setBulkFetch in interface org.alfresco.service.cmr.search.ResultSetSPI
Parameters:
bulkFetch -

getBulkFetch

public boolean getBulkFetch()
Do we bulk fetch

Specified by:
getBulkFetch in interface org.alfresco.service.cmr.search.ResultSetSPI
Returns:
- true if we do

setBulkFetchSize

public int setBulkFetchSize(int bulkFetchSize)
Set the bulk fetch size

Specified by:
setBulkFetchSize in interface org.alfresco.service.cmr.search.ResultSetSPI
Parameters:
bulkFetchSize -

getBulkFetchSize

public int getBulkFetchSize()
Get the bulk fetch size.

Specified by:
getBulkFetchSize in interface org.alfresco.service.cmr.search.ResultSetSPI
Returns:
the fetch size

getFieldFacet

public java.util.List getFieldFacet(java.lang.String field)
Specified by:
getFieldFacet in interface org.alfresco.service.cmr.search.ResultSetSPI


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