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, setQueryConfigHandlerpublic RemoveEmptyNonLeafQueryNodeProcessor()
public QueryNode process(QueryNode queryTree) throws QueryNodeException
QueryNodeProcessornull.process in interface QueryNodeProcessorprocess in class QueryNodeProcessorImplqueryTree - tree root nodeQueryNodeExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved