org.apache.lucene.queryParser.standard.builders
Class MatchAllDocsQueryNodeBuilder
java.lang.Object
org.apache.lucene.queryParser.standard.builders.MatchAllDocsQueryNodeBuilder
- All Implemented Interfaces:
- QueryBuilder, StandardQueryBuilder
public class MatchAllDocsQueryNodeBuilder
- extends Object
- implements StandardQueryBuilder
Builds a MatchAllDocsQuery
object from a
MatchAllDocsQueryNode
object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchAllDocsQueryNodeBuilder
public MatchAllDocsQueryNodeBuilder()
build
public MatchAllDocsQuery 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