Interface QueryResultRow


  • 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.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      NodeId getNodeId​(java.lang.String selectorName)
      Returns NodeId of node for a given selectorname this result row represents.
      double getScore​(java.lang.String selectorName)
      Returns score for the given selectorName of this result row.
      QValue[] getValues()
      Returns an array of QValues.
    • Method Detail

      • getNodeId

        NodeId getNodeId​(java.lang.String selectorName)
        Returns NodeId of node for a given selectorname this result row represents.
        Parameters:
        selectorName - the name of a selector or null for the default selector.
        Returns:
        node id of the Node this result row represents or null if 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 given selectorName of this result row.
        Parameters:
        selectorName - the name of a selector or null for the default selector.
        Returns:
        score for the given selector in this result row.