Class QueryConstants


  • public abstract class QueryConstants
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FUNCTION_RESTRICTION_PREFIX
      The prefix for restrictions for function-based indexes, for example upper(propertyName).
      static java.lang.String JCR_PATH
      The "jcr:path" pseudo-property.
      static java.lang.String JCR_SCORE
      The "jcr:score" pseudo-property.
      static java.lang.String OAK_SCORE_EXPLANATION
      The "oak:explainScore" pseudo-property.
      static java.lang.String REP_EXCERPT
      The "rep:excerpt" pseudo-property.
      static java.lang.String REP_FACET
      The "rep:facet" pseudo-property.
      static java.lang.String REP_SPELLCHECK
      The "rep:spellcheck" pseudo-property.
      static java.lang.String REP_SUGGEST
      The "rep:suggest" pseudo-property.
      static java.lang.String RESTRICTION_LOCAL_NAME
      Name of the property restriction used to express query performed via NAME and LOCALNAME functions
      static java.lang.String RESTRICTION_NAME
      Name of the property restriction used to express query performed via NAME and LOCALNAME functions
      static java.lang.String RESTRICTION_PATH
      Name of the property restriction used to express query performed via PATH function
      static java.lang.String SEARCH_ROOT_PATH  
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESTRICTION_LOCAL_NAME

        public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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
      • SEARCH_ROOT_PATH

        public static final java.lang.String SEARCH_ROOT_PATH
        See Also:
        Constant Field Values
      • JCR_PATH

        public static final java.lang.String JCR_PATH
        The "jcr:path" pseudo-property.
        See Also:
        Constant Field Values
      • JCR_SCORE

        public static final java.lang.String JCR_SCORE
        The "jcr:score" pseudo-property.
        See Also:
        Constant Field Values
      • REP_EXCERPT

        public static final java.lang.String REP_EXCERPT
        The "rep:excerpt" pseudo-property.
        See Also:
        Constant Field Values
      • REP_FACET

        public static final java.lang.String REP_FACET
        The "rep:facet" pseudo-property.
        See Also:
        Constant Field Values
      • OAK_SCORE_EXPLANATION

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

        public static final java.lang.String REP_SPELLCHECK
        The "rep:spellcheck" pseudo-property.
        See Also:
        Constant Field Values
      • REP_SUGGEST

        public static final java.lang.String REP_SUGGEST
        The "rep:suggest" pseudo-property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • QueryConstants

        public QueryConstants()