Package org.apache.jackrabbit.spi
Interface QueryResultRow
- 
public interface QueryResultRowQueryResultRowrepresents the SPI equivalent of a query result row. It provides access to the id of the Node this row represents as well as to the score and to the values represented in this result row. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeIdgetNodeId(java.lang.String selectorName)ReturnsNodeIdof node for a givenselectornamethis result row represents.doublegetScore(java.lang.String selectorName)Returns score for the givenselectorNameof this result row.QValue[]getValues()Returns an array ofQValues. 
 - 
 
- 
- 
Method Detail
- 
getNodeId
NodeId getNodeId(java.lang.String selectorName)
ReturnsNodeIdof node for a givenselectornamethis result row represents.- Parameters:
 selectorName- the name of a selector ornullfor the default selector.- Returns:
 - node id of the 
Nodethis result row represents ornullif there is no node present in this row for the given selector name. - See Also:
 Row.getNode(),Row.getNode(String)
 
- 
getScore
double getScore(java.lang.String selectorName)
Returns score for the givenselectorNameof this result row.- Parameters:
 selectorName- the name of a selector ornullfor the default selector.- Returns:
 - score for the given selector in this result row.
 
 
- 
getValues
QValue[] getValues()
Returns an array ofQValues.- Returns:
 - an array of 
QValues representing the values present in this result row. - See Also:
 Row.getValue(String),Row.getValues()
 
 - 
 
 -