public class BooleanQueryNodeBuilder extends Object implements StandardQueryBuilder
BooleanQuery
object from a BooleanQueryNode
object.
Every children in the BooleanQueryNode
object must be already tagged
using QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID
with a Query
object. ModifierQueryNode
to
define the BooleanClause
.Constructor and Description |
---|
BooleanQueryNodeBuilder() |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
build(QueryNode queryNode)
Builds some kind of object from a query tree.
|
public BooleanQuery build(QueryNode queryNode) throws QueryNodeException
QueryBuilder
build
in interface QueryBuilder
build
in interface StandardQueryBuilder
queryNode
- the query tree root nodeQueryNodeException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.