Package org.apache.jackrabbit.oak.api
Interface ResultRow
public interface ResultRow
A query result row.
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()The path, assuming there is only one selector.The path for the given selector name.The tree for the given selector name.The property value.Get the list of values.
-
Method Details
-
getPath
String getPath()The path, assuming there is only one selector.- Returns:
- the path
- Throws:
IllegalArgumentException- if there are multiple selectors
-
getPath
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
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
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
-