Interface ResultRow


public interface ResultRow
A query result row.
  • Method Details

    • 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
    • getValue

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

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