Interface IndexRow
-
public interface IndexRow
A row returned by the index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getPath()
The path of the node, if available.org.apache.jackrabbit.oak.api.PropertyValue
getValue(java.lang.String columnName)
The value of the given property, if available.boolean
isVirtualRow()
Marks if the row is virtual and behavior ofgetPath
is undefined.
-
-
-
Method Detail
-
isVirtualRow
boolean isVirtualRow()
Marks if the row is virtual and behavior ofgetPath
is undefined. The implementation may choose to returnnull
or empty string. User of a virtual row should now rely of value ofgetPath
returned from virtual rows.- Returns:
- if path is available for the current row
-
getPath
java.lang.String getPath()
The path of the node, if available.- Returns:
- the path
-
getValue
org.apache.jackrabbit.oak.api.PropertyValue getValue(java.lang.String columnName)
The value of the given property, if available. This might be a property of the given node, or a pseudo-property (a property that is only available in the index but not in the node itself, such as "jcr:score").- Parameters:
columnName
- the column name- Returns:
- the value, or null if not available
-
-