Class QueryConstants
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.QueryConstants
-
public abstract class QueryConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
FUNCTION_RESTRICTION_PREFIX
The prefix for restrictions for function-based indexes, for example upper(propertyName).static String
JCR_PATH
The "jcr:path" pseudo-property.static String
JCR_SCORE
The "jcr:score" pseudo-property.static String
OAK_SCORE_EXPLANATION
The "oak:explainScore" pseudo-property.static String
REP_EXCERPT
The "rep:excerpt" pseudo-property.static String
REP_FACET
The "rep:facet" pseudo-property.static String
REP_SPELLCHECK
The "rep:spellcheck" pseudo-property.static String
REP_SUGGEST
The "rep:suggest" pseudo-property.static String
RESTRICTION_LOCAL_NAME
Name of the property restriction used to express query performed via NAME and LOCALNAME functionsstatic String
RESTRICTION_NAME
Name of the property restriction used to express query performed via NAME and LOCALNAME functionsstatic String
RESTRICTION_PATH
Name of the property restriction used to express query performed via PATH functionstatic String
SEARCH_ROOT_PATH
-
Constructor Summary
Constructors Constructor Description QueryConstants()
-
-
-
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
-
SEARCH_ROOT_PATH
public static final String SEARCH_ROOT_PATH
- See Also:
- Constant Field Values
-
JCR_PATH
public static final String JCR_PATH
The "jcr:path" pseudo-property.- See Also:
- Constant Field Values
-
JCR_SCORE
public static final String JCR_SCORE
The "jcr:score" pseudo-property.- See Also:
- Constant Field Values
-
REP_EXCERPT
public static final String REP_EXCERPT
The "rep:excerpt" pseudo-property.- See Also:
- Constant Field Values
-
REP_FACET
public static final String REP_FACET
The "rep:facet" pseudo-property.- 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
-
REP_SPELLCHECK
public static final String REP_SPELLCHECK
The "rep:spellcheck" pseudo-property.- See Also:
- Constant Field Values
-
REP_SUGGEST
public static final String REP_SUGGEST
The "rep:suggest" pseudo-property.- See Also:
- Constant Field Values
-
-