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

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

public class NumericRangeQueryNodeBuilder
extends Object
implements StandardQueryBuilder

Builds NumericRangeQuerys out of NumericRangeQueryNodes.

See Also:
NumericRangeQuery, NumericRangeQueryNode

Constructor Summary
NumericRangeQueryNodeBuilder()
          Constructs a NumericRangeQueryNodeBuilder object.
 
Method Summary
 NumericRangeQuery<? extends Number> 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

NumericRangeQueryNodeBuilder

public NumericRangeQueryNodeBuilder()
Constructs a NumericRangeQueryNodeBuilder object.

Method Detail

build

public NumericRangeQuery<? extends Number> 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