public class RefinementRange extends Refinement<RefinementRange>
A RefinementRange extends Refinement and represents a navigation refinement between two numeric values.
Typically, price is a range refinement.
- `id`: an MD5 hash of the content of this value.
- `low`: The lower bound value.
- `high`: The upper bound value.
- `count`: the number of records that will be filtered down to by this navigation value.
- `isRange`: - whether this is a range refinement or a value refinement
- `type`: - the type of refinement, Value or Range
Refinement.Type| Constructor and Description |
|---|
RefinementRange()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHigh() |
java.lang.String |
getLow() |
Refinement.Type |
getType()
Types are either `Range` or `Value`
They represent the objects RefinementRange and RefinementValue
|
RefinementRange |
setHigh(java.lang.String high) |
RefinementRange |
setLow(java.lang.String low) |
java.lang.String |
toTildeString() |
getCount, getExclude, getId, isRange, setCount, setExclude, setIdpublic Refinement.Type getType()
Refinement
Types are either `Range` or `Value`
They represent the objects RefinementRange and RefinementValue
getType in class Refinement<RefinementRange>public java.lang.String toTildeString()
toTildeString in class Refinement<RefinementRange>public java.lang.String getLow()
public RefinementRange setLow(java.lang.String low)
low - Set the lower bound.public java.lang.String getHigh()
public RefinementRange setHigh(java.lang.String high)
high - Set the uppermost value.Copyright © 2013–2016 GroupBy Inc.. All rights reserved.