Interface ResultSetRow


@AlfrescoPublicApi public interface ResultSetRow
A row in a result set TODO: Support for other non attribute features such as parents and path
Author:
andyh
  • 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

      Serializable getValue(String columnName)
      Get the data for a single column
      Parameters:
      columnName - String
      Returns:
      the value
    • getValue

      Serializable getValue(QName qname)
      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

      Map<String,NodeRef> getNodeRefs()
      Gets the node refs
      Returns:
      a map of selector name to node ref
    • getNodeRef

      NodeRef getNodeRef(String selectorName)
      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

      Map<String,Float> getScores()
      Get the scores .
      Returns:
      a map of selector name to score.
    • getScore

      float getScore(String selectorName)
      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