public class CMISResultSet extends Object implements org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>, Serializable
Constructor and Description |
---|
CMISResultSet(Map<String,org.alfresco.service.cmr.search.ResultSet> wrapped,
org.alfresco.opencmis.search.CMISQueryOptions options,
org.alfresco.service.cmr.search.LimitBy limitBy,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.repo.search.impl.querymodel.Query query,
org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService,
org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getBulkFetch()
Do we bulk fetch - not supported here
|
int |
getBulkFetchSize()
Get the bulk fetch size.
|
org.alfresco.service.cmr.repository.ChildAssociationRef |
getChildAssocRef(int n) |
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() |
int |
getLength() |
CMISResultSetMetaData |
getMetaData() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(int n) |
List<org.alfresco.service.cmr.repository.NodeRef> |
getNodeRefs() |
long |
getNumberFound() |
CMISResultSetMetaData |
getResultSetMetaData() |
CMISResultSetRow |
getRow(int i) |
float |
getScore(int n) |
org.alfresco.service.cmr.search.SpellCheckResult |
getSpellCheckResult() |
int |
getStart() |
boolean |
hasMore() |
Iterator<CMISResultSetRow> |
iterator() |
int |
length() |
boolean |
setBulkFetch(boolean bulkFetch)
Bulk fetch results in the cache - not supported here
|
int |
setBulkFetchSize(int bulkFetchSize)
Set the bulk fetch size
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public CMISResultSet(Map<String,org.alfresco.service.cmr.search.ResultSet> wrapped, org.alfresco.opencmis.search.CMISQueryOptions options, org.alfresco.service.cmr.search.LimitBy limitBy, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.repo.search.impl.querymodel.Query query, org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService, org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService)
public void close()
close
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public CMISResultSetMetaData getMetaData()
public CMISResultSetRow getRow(int i)
getRow
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public boolean hasMore()
hasMore
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public int getLength()
public int getStart()
getStart
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public Iterator<CMISResultSetRow> iterator()
iterator
in interface Iterable<CMISResultSetRow>
public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef(int n)
getChildAssocRef
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public List<org.alfresco.service.cmr.repository.ChildAssociationRef> getChildAssocRefs()
getChildAssocRefs
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public org.alfresco.service.cmr.repository.NodeRef getNodeRef(int n)
getNodeRef
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public List<org.alfresco.service.cmr.repository.NodeRef> getNodeRefs()
getNodeRefs
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public CMISResultSetMetaData getResultSetMetaData()
getResultSetMetaData
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public float getScore(int n)
getScore
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public int length()
length
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public boolean setBulkFetch(boolean bulkFetch)
setBulkFetch
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
bulkFetch
- booleanpublic boolean getBulkFetch()
getBulkFetch
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public int setBulkFetchSize(int bulkFetchSize)
setBulkFetchSize
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
bulkFetchSize
- intpublic int getBulkFetchSize()
getBulkFetchSize
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public List<org.alfresco.util.Pair<String,Integer>> getFieldFacet(String field)
getFieldFacet
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public long getNumberFound()
getNumberFound
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
public Map<String,Integer> getFacetQueries()
getFacetQueries
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
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<CMISResultSetRow,CMISResultSetMetaData>
public org.alfresco.service.cmr.search.SpellCheckResult getSpellCheckResult()
getSpellCheckResult
in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,CMISResultSetMetaData>
Copyright © 2005–2017 Alfresco Software. All rights reserved.