Class IndexRowImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.query.index.IndexRowImpl
-
-
Constructor Summary
Constructors Constructor Description IndexRowImpl(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
The path of the node, if available.PropertyValue
getValue(String columnName)
The value of the given property, if available.boolean
isVirtualRow()
Marks if the row is virtual and behavior ofgetPath
is undefined.
-
-
-
Constructor Detail
-
IndexRowImpl
public IndexRowImpl(String path)
-
-
Method Detail
-
isVirtualRow
public boolean isVirtualRow()
Description copied from interface:IndexRow
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.- Specified by:
isVirtualRow
in interfaceIndexRow
- Returns:
- if path is available for the current row
-
getPath
public String getPath()
Description copied from interface:IndexRow
The path of the node, if available.
-
getValue
public PropertyValue getValue(String columnName)
Description copied from interface:IndexRow
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").
-
-