public interface QueryResultRow
QueryResultRow
represents 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.Modifier and Type | Method and Description |
---|---|
NodeId |
getNodeId(String selectorName)
Returns
NodeId of node for a given selectorname this
result row represents. |
double |
getScore(String selectorName)
Returns score for the given
selectorName of this result row. |
QValue[] |
getValues()
Returns an array of
QValue s. |
NodeId getNodeId(String selectorName)
NodeId
of node for a given selectorname
this
result row represents.selectorName
- the name of a selector or null
for the
default selector.Node
this result row represents or
null
if there is no node present in this row for the
given selector name.Row.getNode()
,
Row.getNode(String)
double getScore(String selectorName)
selectorName
of this result row.selectorName
- the name of a selector or null
for the
default selector.QValue[] getValues()
QValue
s.QValue
s representing the values present
in this result row.Row.getValue(String)
,
Row.getValues()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.