|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.queryParser.core.nodes.QueryNodeImpl
org.apache.lucene.queryParser.standard.nodes.AbstractRangeQueryNode<FieldQueryNode>
org.apache.lucene.queryParser.standard.nodes.TermRangeQueryNode
org.apache.lucene.queryParser.standard.nodes.RangeQueryNode
TermRangeQueryNode should
be used instead
@Deprecated public class RangeQueryNode
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.
ParametricRangeQueryNodeProcessor,
StandardQueryConfigHandler.ConfigurationKeys.RANGE_COLLATOR,
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)
Deprecated. |
|
| Method Summary | |
|---|---|
Collator |
getCollator()
Deprecated. |
ParametricQueryNode |
getLowerBound()
Deprecated. Returns the lower bound node. |
ParametricQueryNode |
getUpperBound()
Deprecated. Returns the upper bound node. |
void |
setBounds(FieldQueryNode lower,
FieldQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive)
Deprecated. Sets lower and upper bounds. |
String |
toString()
Deprecated. Every implementation of this class should return pseudo xml like this: For FieldQueryNode: |
| Methods inherited from class org.apache.lucene.queryParser.standard.nodes.AbstractRangeQueryNode |
|---|
getField, isLowerInclusive, isUpperInclusive, setField, toQueryString |
| Methods inherited from class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl |
|---|
add, add, allocate, clone, cloneTree, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, setTag, unsetTag, 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, cloneTree, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isLeaf, set, setTag, setTag, unsetTag, unsetTag |
| Constructor Detail |
|---|
public RangeQueryNode(ParametricQueryNode lower,
ParametricQueryNode upper,
Collator collator)
lower - upper - | Method Detail |
|---|
public ParametricQueryNode getLowerBound()
AbstractRangeQueryNode
getLowerBound in interface RangeQueryNode<FieldValuePairQueryNode<?>>getLowerBound in class AbstractRangeQueryNode<FieldQueryNode>public ParametricQueryNode getUpperBound()
AbstractRangeQueryNode
getUpperBound in interface RangeQueryNode<FieldValuePairQueryNode<?>>getUpperBound in class AbstractRangeQueryNode<FieldQueryNode>
public void setBounds(FieldQueryNode lower,
FieldQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive)
FieldQueryNode objects as lower and upper, however,
an IllegalArgumentException will be thrown at runtime
if a non ParametricQueryNode is passed as lower and upper.
setBounds in class AbstractRangeQueryNode<FieldQueryNode>lower - a ParametricQueryNode objectupper - a ParametricQueryNode objectlowerInclusive - true if lower bound is inclusive, otherwise, falseupperInclusive - true if upper bound is inclusive, otherwise, false
IllegalArgumentException - if lower or upper are not instance of ParametricQueryNodeAbstractRangeQueryNode.setBounds(T, T, boolean, boolean)public String toString()
QueryNodeImpl
toString in interface QueryNodetoString in class QueryNodeImplQueryNode.toString()public Collator getCollator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||