public abstract class AbstractResultSet extends Object implements org.alfresco.service.cmr.search.ResultSet
Constructor and Description |
---|
AbstractResultSet()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getBulkFetch()
Do we bulk fetch
|
int |
getBulkFetchSize()
Get the bulk fetch size.
|
List<org.alfresco.service.cmr.repository.ChildAssociationRef> |
getChildAssocRefs() |
Map<String,Integer> |
getFacetQueries() |
List<org.alfresco.util.Pair<String,Integer>> |
getFieldFacet(String field) |
Map<org.alfresco.service.cmr.repository.NodeRef,List<org.alfresco.util.Pair<String,List<String>>>> |
getHighlighting() |
List<org.alfresco.service.cmr.repository.NodeRef> |
getNodeRefs() |
float |
getScore(int n) |
org.alfresco.service.cmr.search.SpellCheckResult |
getSpellCheckResult() |
boolean |
setBulkFetch(boolean bulkFetch)
Bulk fetch results in the cache
|
int |
setBulkFetchSize(int bulkFetchSize)
Set the bulk fetch size
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildAssocRef, getNodeRef, getNumberFound, getResultSetMetaData, getRow, getStart, hasMore, length
forEach, iterator, spliterator
public float getScore(int n)
getScore
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public void close()
close
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public List<org.alfresco.service.cmr.repository.NodeRef> getNodeRefs()
getNodeRefs
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public List<org.alfresco.service.cmr.repository.ChildAssociationRef> getChildAssocRefs()
getChildAssocRefs
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public boolean setBulkFetch(boolean bulkFetch)
setBulkFetch
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
bulkFetch
- booleanpublic boolean getBulkFetch()
getBulkFetch
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public int setBulkFetchSize(int bulkFetchSize)
setBulkFetchSize
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
bulkFetchSize
- intpublic int getBulkFetchSize()
getBulkFetchSize
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public List<org.alfresco.util.Pair<String,Integer>> getFieldFacet(String field)
getFieldFacet
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public Map<String,Integer> getFacetQueries()
getFacetQueries
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public Map<org.alfresco.service.cmr.repository.NodeRef,List<org.alfresco.util.Pair<String,List<String>>>> getHighlighting()
getHighlighting
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public org.alfresco.service.cmr.search.SpellCheckResult getSpellCheckResult()
getSpellCheckResult
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
Copyright © 2005–2017 Alfresco Software. All rights reserved.