ROW
- MD
- @AlfrescoPublicApi public interface ResultSetSPI<ROW extends ResultSetRow,MD extends ResultSetMetaData> extends Iterable<ROW>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the result set and release any resources held/ The result set is bound to the transaction and will auto
close at the end of the transaction.
|
boolean |
getBulkFetch()
Do we bulk fetch
|
int |
getBulkFetchSize()
Get the bulk fetch size.
|
ChildAssociationRef |
getChildAssocRef(int n)
Get the child assoc ref for a particular row.
|
List<ChildAssociationRef> |
getChildAssocRefs()
Get a list of all the child associations in the results set.
|
Map<String,Integer> |
getFacetQueries()
Gets the facet query results
|
List<org.alfresco.util.Pair<String,Integer>> |
getFieldFacet(String field) |
Map<NodeRef,List<org.alfresco.util.Pair<String,List<String>>>> |
getHighlighting()
Gets the highlighting results.
|
NodeRef |
getNodeRef(int n)
Get the id of the node at the given index (if there is only one selector or no selector)
|
List<NodeRef> |
getNodeRefs()
Get a list of all the node refs in the result set (if there is only one selector or no selector)
|
long |
getNumberFound()
Attempt to get the number of rows that matched the query.
|
MD |
getResultSetMetaData()
Get the meta data for the results set.
|
ROW |
getRow(int i)
Get a row from the result set by row index, starting at 0.
|
float |
getScore(int n)
Get the score for the node at the given position (if there is only one selector or no selector)
|
SpellCheckResult |
getSpellCheckResult()
Gets the spell check result
|
int |
getStart()
Get the start point for this results set in the overall set of rows that match the query - this will be equal to
the skip count set when executing the query, and zero if this is not set.
|
boolean |
hasMore()
Was this result set curtailed - are there more pages to the result set?
|
int |
length()
Get the number of rows in this result set.
|
boolean |
setBulkFetch(boolean bulkFetch)
Bulk fetch results in the cache
|
int |
setBulkFetchSize(int bulkFetchSize)
Set the bulk fetch size
|
forEach, iterator, spliterator
int length()
long getNumberFound()
NodeRef getNodeRef(int n)
n
- zero-based indexfloat getScore(int n)
n
- zero-based indexvoid close()
ROW getRow(int i)
i
- zero-based indexList<NodeRef> getNodeRefs()
List<ChildAssociationRef> getChildAssocRefs()
ChildAssociationRef getChildAssocRef(int n)
n
- zero-based indexMD getResultSetMetaData()
int getStart()
boolean hasMore()
boolean setBulkFetch(boolean bulkFetch)
bulkFetch
- booleanboolean getBulkFetch()
int setBulkFetchSize(int bulkFetchSize)
bulkFetchSize
- intint getBulkFetchSize()
List<org.alfresco.util.Pair<String,Integer>> getFieldFacet(String field)
field
- StringMap<String,Integer> getFacetQueries()
Map<NodeRef,List<org.alfresco.util.Pair<String,List<String>>>> getHighlighting()
SpellCheckResult getSpellCheckResult()
Copyright © 2005–2016 Alfresco Software. All rights reserved.