Interface ResultRow

  • All Known Implementing Classes:
    ResultRowImpl

    public interface ResultRow
    A query result row.
    • Method Detail

      • getPath

        String getPath()
        The path, assuming there is only one selector.
        Returns:
        the path
        Throws:
        IllegalArgumentException - if there are multiple selectors
      • getPath

        String getPath​(String selectorName)
        The path for the given selector name.
        Parameters:
        selectorName - the selector name (null if there is only one selector)
        Returns:
        the path
        Throws:
        IllegalArgumentException - if the selector was not found, or if there are multiple selectors but the passed selectorName is null
      • getTree

        Tree getTree​(String selectorName)
        The tree for the given selector name.
        Parameters:
        selectorName - the selector name (null if there is only one selector)
        Returns:
        the tree
        Throws:
        IllegalArgumentException - if the selector was not found, or if there are multiple selectors but the passed selectorName is null
      • getValues

        PropertyValue[] getValues()
        Get the list of values.
        Returns:
        the values