Class ColumnImpl
java.lang.Object
org.apache.jackrabbit.oak.query.ast.ColumnImpl
- Direct Known Subclasses:
FacetColumnImpl
A result column expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindSelector
(SourceImpl source) protected PropertyValue
convertValueToType
(PropertyValue v, PropertyValue targetType) org.apache.jackrabbit.oak.query.ast.AstElement
copyOf()
protected String
getLocalPath
(String path) Calculate the session local path (the path excluding the workspace name) if possible.protected String
normalizePath
(String path) Validate and normalize the path.protected String
normalizePropertyName
(String propertyName) Normalize the property name (including namespace remapping).protected String
protected static String
protected static String
void
toString()
-
Field Details
-
query
-
-
Constructor Details
-
ColumnImpl
-
-
Method Details
-
getColumnName
-
getPropertyName
-
toString
-
currentProperty
-
bindSelector
-
getSelector
-
copyOf
public org.apache.jackrabbit.oak.query.ast.AstElement copyOf()- Returns:
- a clone of self. Default implementation in
AstElement
returns same reference tothis
.
-
protect
-
quote
-
quoteJson
-
setQuery
-
normalizePropertyName
Normalize the property name (including namespace remapping). Asterisks are kept.- Parameters:
propertyName
- the property name to normalize- Returns:
- the normalized (oak-) property name
-
normalizePath
Validate and normalize the path.- Parameters:
path
- the path to validate- Returns:
- the validated and normalized path
-
convertValueToType
-
getLocalPath
Calculate the session local path (the path excluding the workspace name) if possible.- Parameters:
path
- the absolute path- Returns:
- the session local path, or null if not within this workspace
-