Class QueryConstants


  • public abstract class QueryConstants
    extends Object
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • RESTRICTION_PATH

        public static final String RESTRICTION_PATH
        Name of the property restriction used to express query performed via PATH function
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • OAK_SCORE_EXPLANATION

        public static final String OAK_SCORE_EXPLANATION
        The "oak:explainScore" pseudo-property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • QueryConstants

        public QueryConstants()