Package org.alfresco.service.cmr.search
Interface ResultSetRow
A row in a result set
TODO: Support for other non attribute features such as parents and path
- Author:
- andyh
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
Get the index of this result set in the result set If you want the overall position in paged reults you have to add the skipCount fo the result set.The reference to the node that equates to this row in the result setgetNodeRef
(String selectorName) Gets the node ref related to the named selectorGets the node refsgetQName()
Get the containing result setfloat
getScore()
Get the score for this row in the result setfloat
Get the score related to the named selector.Get the scores .Get the data for a single columnGet a node property value by nameGet the values of all available node properties.
-
Method Details
-
getValues
Map<String,Serializable> getValues()Get the values of all available node properties. These are only properties that were stored in the query results and can vary depending on the query language that was used.- Returns:
- Returns all the available node properties
-
getValue
Get the data for a single column- Parameters:
columnName
- String- Returns:
- the value
-
getValue
Get a node property value by name- Parameters:
qname
- the property name- Returns:
- Returns the node property for the given name
-
getNodeRef
NodeRef getNodeRef()The reference to the node that equates to this row in the result set- Returns:
- Returns the reference to the node that makes this result
-
getNodeRefs
Gets the node refs- Returns:
- a map of selector name to node ref
-
getNodeRef
Gets the node ref related to the named selector- Parameters:
selectorName
- String- Returns:
- the node ref
-
getScore
float getScore()Get the score for this row in the result set- Returns:
- Returns the score for this row in the resultset
-
getScores
Get the scores .- Returns:
- a map of selector name to score.
-
getScore
Get the score related to the named selector.- Parameters:
selectorName
- String- Returns:
- - the score.
-
getResultSet
ResultSet getResultSet()Get the containing result set- Returns:
- Returns the containing resultset
-
getQName
QName getQName()- Returns:
- Returns the name of the child association leading down to the node represented by this row
-
getIndex
int getIndex()Get the index of this result set in the result set If you want the overall position in paged reults you have to add the skipCount fo the result set.- Returns:
- int
-
getChildAssocRef
ChildAssociationRef getChildAssocRef()- Returns:
- Returns the child assoc ref for this row
-