Class QueryConstants

java.lang.Object
org.apache.jackrabbit.oak.spi.query.QueryConstants

public abstract class QueryConstants extends Object
  • Field Details

    • RESTRICTION_LOCAL_NAME

      public static final String RESTRICTION_LOCAL_NAME
      Name of the property restriction used to express query performed via NAME and LOCALNAME functions
      See Also:
    • RESTRICTION_NAME

      public static final String RESTRICTION_NAME
      Name of the property restriction used to express query performed via NAME and LOCALNAME functions
      See Also:
    • RESTRICTION_PATH

      public static final String RESTRICTION_PATH
      Name of the property restriction used to express query performed via PATH function
      See Also:
    • FUNCTION_RESTRICTION_PREFIX

      public static final String FUNCTION_RESTRICTION_PREFIX
      The prefix for restrictions for function-based indexes, for example upper(propertyName). Syntax: "function*expression". In order to support all kinds of expressions in the future (including nested expressions and so on), the format for the expression is written in the Polish notation (the RPN, reversed), with "*" as delimiter (as property names may not contain "*"), and "@" in front of each property name to distinguish between property names and functions. Literals are quoted. Examples: The expression "lower(lastName)" is converted to "function*lower @ lastName". The expression "lower(lastName)" is converted to "lower(upper(lastName))" is converted to "function*lower*upper* @lastName". The condition "firstName+' '+lastName = 'Tim Cook'" would be "function*+*+ @ firstName*' ' @lastName.
      See Also:
    • SEARCH_ROOT_PATH

      public static final String SEARCH_ROOT_PATH
      See Also:
    • JCR_PATH

      public static final String JCR_PATH
      The "jcr:path" pseudo-property.
      See Also:
    • JCR_SCORE

      public static final String JCR_SCORE
      The "jcr:score" pseudo-property.
      See Also:
    • REP_EXCERPT

      public static final String REP_EXCERPT
      The "rep:excerpt" pseudo-property.
      See Also:
    • REP_FACET

      public static final String REP_FACET
      The "rep:facet" pseudo-property.
      See Also:
    • OAK_SCORE_EXPLANATION

      public static final String OAK_SCORE_EXPLANATION
      The "oak:explainScore" pseudo-property.
      See Also:
    • REP_SPELLCHECK

      public static final String REP_SPELLCHECK
      The "rep:spellcheck" pseudo-property.
      See Also:
    • REP_SUGGEST

      public static final String REP_SUGGEST
      The "rep:suggest" pseudo-property.
      See Also:
  • Constructor Details

    • QueryConstants

      public QueryConstants()