org.apache.lucene.queryParser.standard.builders
Class MatchNoDocsQueryNodeBuilder

java.lang.Object
  extended by org.apache.lucene.queryParser.standard.builders.MatchNoDocsQueryNodeBuilder
All Implemented Interfaces:
QueryBuilder, StandardQueryBuilder

public class MatchNoDocsQueryNodeBuilder
extends Object
implements StandardQueryBuilder

Builds an empty BooleanQuery object from a MatchNoDocsQueryNode object.


Constructor Summary
MatchNoDocsQueryNodeBuilder()
           
 
Method Summary
 BooleanQuery build(QueryNode queryNode)
          Builds some kind of object from a query tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchNoDocsQueryNodeBuilder

public MatchNoDocsQueryNodeBuilder()
Method Detail

build

public BooleanQuery build(QueryNode queryNode)
                   throws QueryNodeException
Description copied from interface: QueryBuilder
Builds some kind of object from a query tree.

Specified by:
build in interface QueryBuilder
Specified by:
build in interface StandardQueryBuilder
Parameters:
queryNode - the query tree root node
Returns:
some object generated from the query tree
Throws:
QueryNodeException