Class BooleanQueryNodeBuilder
java.lang.Object
org.apache.lucene.queryparser.flexible.standard.builders.BooleanQueryNodeBuilder
- All Implemented Interfaces:
QueryBuilder,StandardQueryBuilder
Builds a
It takes in consideration if the children is a
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. It takes in consideration if the children is a
ModifierQueryNode to define the BooleanClause.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds some kind of object from a query tree.
-
Constructor Details
-
BooleanQueryNodeBuilder
public BooleanQueryNodeBuilder()
-
-
Method Details
-
build
Description copied from interface:QueryBuilderBuilds some kind of object from a query tree.- Specified by:
buildin interfaceQueryBuilder- Specified by:
buildin interfaceStandardQueryBuilder- Parameters:
queryNode- the query tree root node- Returns:
- some object generated from the query tree
- Throws:
QueryNodeException
-