public class AllowLeadingWildcardProcessor extends QueryNodeProcessorImpl
StandardQueryConfigHandler.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 '?'). | Constructor and Description |
|---|
AllowLeadingWildcardProcessor() |
| Modifier and Type | Method and Description |
|---|---|
QueryNode |
process(QueryNode queryTree)
Processes a query node tree.
|
getQueryConfigHandler, setQueryConfigHandlerpublic QueryNode process(QueryNode queryTree) throws QueryNodeException
QueryNodeProcessornull.process in interface QueryNodeProcessorprocess in class QueryNodeProcessorImplqueryTree - tree root nodeQueryNodeExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved