Class DummyQueryNodeBuilder
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.builders.DummyQueryNodeBuilder
-
- All Implemented Interfaces:
QueryBuilder
,StandardQueryBuilder
public class DummyQueryNodeBuilder extends Object implements StandardQueryBuilder
This builder does nothing. Commonly used forQueryNode
objects that are built by its parent's builder.- See Also:
StandardQueryBuilder
,QueryTreeBuilder
-
-
Constructor Summary
Constructors Constructor Description DummyQueryNodeBuilder()
Constructs aDummyQueryNodeBuilder
object.
-
-
-
Constructor Detail
-
DummyQueryNodeBuilder
public DummyQueryNodeBuilder()
Constructs aDummyQueryNodeBuilder
object.
-
-
Method Detail
-
build
public TermQuery build(QueryNode queryNode) throws QueryNodeException
Always returnnull
.return
null
- Specified by:
build
in interfaceQueryBuilder
- Specified by:
build
in interfaceStandardQueryBuilder
- Parameters:
queryNode
- the query tree root node- Returns:
- some object generated from the query tree
- Throws:
QueryNodeException
-
-