Interface ResultRow


  • public interface ResultRow
    A query result row.
    • Method Detail

      • getPath

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

        java.lang.String getPath​(java.lang.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:
        java.lang.IllegalArgumentException - if the selector was not found, or if there are multiple selectors but the passed selectorName is null
      • getTree

        Tree getTree​(java.lang.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:
        java.lang.IllegalArgumentException - if the selector was not found, or if there are multiple selectors but the passed selectorName is null
      • getValue

        PropertyValue getValue​(java.lang.String columnName)
        The property value.
        Parameters:
        columnName - the column name
        Returns:
        the value
        Throws:
        java.lang.IllegalArgumentException - if the column was not found
      • getValues

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