AllowLeadingWildcardProcessor

This processor verifies if ConfigurationKeys.ALLOW_LEADING_WILDCARD is defined in the QueryConfigHandler. If it is and leading wildcard is not allowed, it looks for every WildcardQueryNode contained in the query node tree and throws an exception if any of them has a leading wildcard ('*' or '?').

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Sets and returns the QueryConfigHandler associated to the query tree.

Functions

Link copied to clipboard
open override fun process(queryTree: QueryNode): QueryNode

Processes a query node tree. It may return the same or another query tree. I should never return null.