public class CMISResultSetImpl extends Object implements CMISResultSet, Serializable
| Constructor and Description |
|---|
CMISResultSetImpl(Map<String,org.alfresco.service.cmr.search.ResultSet> wrapped,
CMISQueryOptions options,
org.alfresco.service.cmr.search.LimitBy limitBy,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.repo.search.impl.querymodel.Query query,
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) |
int |
getLength()
Get the number of rows in this result set.
|
CMISResultSetMetaData |
getMetaData()
Get the result set meta-data.
|
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) |
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
|
public CMISResultSetImpl(Map<String,org.alfresco.service.cmr.search.ResultSet> wrapped, CMISQueryOptions options, org.alfresco.service.cmr.search.LimitBy limitBy, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.repo.search.impl.querymodel.Query query, 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()
CMISResultSetgetMetaData in interface CMISResultSetpublic 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()
CMISResultSetgetLength in interface CMISResultSetpublic 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 - public 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 - public 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>Copyright © 2005–2014 Alfresco Software. All rights reserved.