ROW
- MD
- public class ResultSetSPIWrapper<ROW extends org.alfresco.service.cmr.search.ResultSetRow,MD extends org.alfresco.service.cmr.search.ResultSetMetaData> extends Object implements org.alfresco.service.cmr.search.ResultSet
Constructor and Description |
---|
ResultSetSPIWrapper(org.alfresco.service.cmr.search.ResultSetSPI<ROW,MD> wrapped)
Create a wrapped result set
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getBulkFetch()
Do we bulk fetch
|
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() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(int n) |
List<org.alfresco.service.cmr.repository.NodeRef> |
getNodeRefs() |
long |
getNumberFound() |
org.alfresco.service.cmr.search.ResultSetMetaData |
getResultSetMetaData() |
org.alfresco.service.cmr.search.ResultSetRow |
getRow(int i) |
float |
getScore(int n) |
org.alfresco.service.cmr.search.SpellCheckResult |
getSpellCheckResult() |
int |
getStart() |
boolean |
hasMore() |
Iterator<org.alfresco.service.cmr.search.ResultSetRow> |
iterator() |
int |
length() |
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
forEach, spliterator
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 org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef(int n)
getChildAssocRef
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 org.alfresco.service.cmr.repository.NodeRef getNodeRef(int n)
getNodeRef
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 org.alfresco.service.cmr.search.ResultSetMetaData getResultSetMetaData()
getResultSetMetaData
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.ResultSetRow getRow(int i)
getRow
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
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 int getStart()
getStart
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public boolean hasMore()
hasMore
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public int length()
length
in interface org.alfresco.service.cmr.search.ResultSetSPI<org.alfresco.service.cmr.search.ResultSetRow,org.alfresco.service.cmr.search.ResultSetMetaData>
public Iterator<org.alfresco.service.cmr.search.ResultSetRow> iterator()
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 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>
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 long getNumberFound()
getNumberFound
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.