public class RemoveEmptyNonLeafQueryNodeProcessor extends QueryNodeProcessorImpl
QueryNode
that is not a leaf and has not
children. If after processing the entire tree the root node is not a leaf and
has no children, a MatchNoDocsQueryNode
object is returned. GroupQueryNode
or ModifierQueryNode
with no children. QueryNode
,
MatchNoDocsQueryNode
Constructor and Description |
---|
RemoveEmptyNonLeafQueryNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
QueryNode |
process(QueryNode queryTree)
Processes a query node tree.
|
getQueryConfigHandler, setQueryConfigHandler
public RemoveEmptyNonLeafQueryNodeProcessor()
public QueryNode process(QueryNode queryTree) throws QueryNodeException
QueryNodeProcessor
null
.process
in interface QueryNodeProcessor
process
in class QueryNodeProcessorImpl
queryTree
- tree root nodeQueryNodeException
Copyright © 2010 - 2020 Adobe. All Rights Reserved