Class RangeQueryNode

  extended by org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      extended by org.apache.lucene.queryParser.core.nodes.ParametricRangeQueryNode
          extended by org.apache.lucene.queryParser.standard.nodes.RangeQueryNode
All Implemented Interfaces:
Serializable, Cloneable, FieldableNode, QueryNode

public class RangeQueryNode
extends ParametricRangeQueryNode

This query node represents a range query. It also holds which collator will be used by the range query and if the constant score rewrite is enabled.

See Also:
ParametricRangeQueryNodeProcessor, RangeCollatorAttribute, TermRangeQuery, Serialized Form

Field Summary
Fields inherited from class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields
Constructor Summary
RangeQueryNode(ParametricQueryNode lower, ParametricQueryNode upper, Collator collator)
Method Summary
 Collator getCollator()
 String toString()
          Every implementation of this class should return pseudo xml like this: For FieldQueryNode:
Methods inherited from class org.apache.lucene.queryParser.core.nodes.ParametricRangeQueryNode
cloneTree, getField, getLowerBound, getUpperBound, setField, toQueryString
Methods inherited from class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
add, add, allocate, clone, containsTag, getChildren, getParent, getTag, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, unsetTag
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.lucene.queryParser.core.nodes.QueryNode
add, add, containsTag, getChildren, getParent, getTag, getTags, isLeaf, set, setTag, unsetTag

Constructor Detail


public RangeQueryNode(ParametricQueryNode lower,
                      ParametricQueryNode upper,
                      Collator collator)
lower -
upper -
Method Detail


public String toString()
Description copied from class: QueryNodeImpl
Every implementation of this class should return pseudo xml like this: For FieldQueryNode:

Specified by:
toString in interface QueryNode
toString in class ParametricRangeQueryNode
See Also:


public Collator getCollator()
the collator

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.