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