Class ColumnImpl

  • Direct Known Subclasses:
    FacetColumnImpl

    public class ColumnImpl
    extends Object
    A result column expression.
    • Constructor Detail

      • ColumnImpl

        public ColumnImpl​(String selectorName,
                          String propertyName,
                          String columnName)
    • Method Detail

      • getColumnName

        public String getColumnName()
      • getPropertyName

        public String getPropertyName()
      • bindSelector

        public void bindSelector​(SourceImpl source)
      • copyOf

        public org.apache.jackrabbit.oak.query.ast.AstElement copyOf()
        Returns:
        a clone of self. Default implementation in AstElement returns same reference to this.
      • quote

        protected static String quote​(String pathOrName)
      • quoteJson

        protected static String quoteJson​(String string)
      • setQuery

        public void setQuery​(QueryImpl query)
      • normalizePropertyName

        protected String normalizePropertyName​(String propertyName)
        Normalize the property name (including namespace remapping). Asterisks are kept.
        Parameters:
        propertyName - the property name to normalize
        Returns:
        the normalized (oak-) property name
      • normalizePath

        protected String normalizePath​(String path)
        Validate and normalize the path.
        Parameters:
        path - the path to validate
        Returns:
        the validated and normalized path
      • getLocalPath

        protected String getLocalPath​(String path)
        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