PointRangeQueryNode instead.@Deprecated public class LegacyNumericRangeQueryNode extends AbstractRangeQueryNode<LegacyNumericQueryNode>
LegacyNumericQueryNode
bounds, which means the bound values are Numbers.LegacyNumericQueryNode,
AbstractRangeQueryNode| Modifier and Type | Field and Description |
|---|---|
LegacyNumericConfig |
numericConfig
Deprecated.
|
PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields| Constructor and Description |
|---|
LegacyNumericRangeQueryNode(LegacyNumericQueryNode lower,
LegacyNumericQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive,
LegacyNumericConfig numericConfig)
Deprecated.
Constructs a
LegacyNumericRangeQueryNode object using the given
LegacyNumericQueryNode as its bounds and LegacyNumericConfig. |
| Modifier and Type | Method and Description |
|---|---|
LegacyNumericConfig |
getNumericConfig()
Deprecated.
Returns the
LegacyNumericConfig associated with the lower and upper bounds. |
void |
setBounds(LegacyNumericQueryNode lower,
LegacyNumericQueryNode upper,
boolean lowerInclusive,
boolean upperInclusive,
LegacyNumericConfig numericConfig)
Deprecated.
Sets the upper and lower bounds of this range query node and the
LegacyNumericConfig associated with these bounds. |
String |
toString()
Deprecated.
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
|
getField, getLowerBound, getUpperBound, isLowerInclusive, isUpperInclusive, setBounds, setField, toQueryStringadd, add, allocate, clone, cloneTree, containsTag, getChildren, getParent, getTag, getTagMap, isDefaultField, isLeaf, isRoot, removeChildren, removeFromParent, set, setLeaf, setTag, unsetTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, cloneTree, containsTag, getChildren, getParent, getTag, getTagMap, isLeaf, removeChildren, removeFromParent, set, setTag, unsetTagpublic LegacyNumericConfig numericConfig
public LegacyNumericRangeQueryNode(LegacyNumericQueryNode lower, LegacyNumericQueryNode upper, boolean lowerInclusive, boolean upperInclusive, LegacyNumericConfig numericConfig) throws QueryNodeException
LegacyNumericRangeQueryNode object using the given
LegacyNumericQueryNode as its bounds and LegacyNumericConfig.lower - the lower boundupper - the upper boundlowerInclusive - true if the lower bound is inclusive, otherwise, falseupperInclusive - true if the upper bound is inclusive, otherwise, falsenumericConfig - the LegacyNumericConfig that represents associated with the upper and lower boundsQueryNodeExceptionsetBounds(LegacyNumericQueryNode, LegacyNumericQueryNode, boolean, boolean, LegacyNumericConfig)public void setBounds(LegacyNumericQueryNode lower, LegacyNumericQueryNode upper, boolean lowerInclusive, boolean upperInclusive, LegacyNumericConfig numericConfig) throws QueryNodeException
LegacyNumericConfig associated with these bounds.lower - the lower boundupper - the upper boundlowerInclusive - true if the lower bound is inclusive, otherwise, falseupperInclusive - true if the upper bound is inclusive, otherwise, falsenumericConfig - the LegacyNumericConfig that represents associated with the upper and lower boundsQueryNodeExceptionpublic LegacyNumericConfig getNumericConfig()
LegacyNumericConfig associated with the lower and upper bounds.LegacyNumericConfig associated with the lower and upper boundspublic String toString()
QueryNodeImpltoString in interface QueryNodetoString in class AbstractRangeQueryNode<LegacyNumericQueryNode>QueryNode.toString()Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.