Class NumericRangeQueryNodeBuilder
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.builders.NumericRangeQueryNodeBuilder
-
- All Implemented Interfaces:
QueryBuilder
,StandardQueryBuilder
public class NumericRangeQueryNodeBuilder extends java.lang.Object implements StandardQueryBuilder
BuildsNumericRangeQuery
s out ofNumericRangeQueryNode
s.- See Also:
NumericRangeQuery
,NumericRangeQueryNode
-
-
Constructor Summary
Constructors Constructor Description NumericRangeQueryNodeBuilder()
Constructs aNumericRangeQueryNodeBuilder
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumericRangeQuery<? extends java.lang.Number>
build(QueryNode queryNode)
Builds some kind of object from a query tree.
-
-
-
Constructor Detail
-
NumericRangeQueryNodeBuilder
public NumericRangeQueryNodeBuilder()
Constructs aNumericRangeQueryNodeBuilder
object.
-
-
Method Detail
-
build
public NumericRangeQuery<? extends java.lang.Number> build(QueryNode queryNode) throws QueryNodeException
Description copied from interface:QueryBuilder
Builds some kind of object from a query tree.- 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
-
-