Class LongRange
- java.lang.Object
-
- org.apache.lucene.facet.rangeonrange.Range
-
- org.apache.lucene.facet.rangeonrange.LongRange
-
public class LongRange extends Range
Represents a long range for RangeOnRange faceting
-
-
Constructor Summary
Constructors Constructor Description LongRange(String label, long[] min, long[] max)
Represents a multidimensional long range for RangeOnRange facetingLongRange(String label, long minIn, boolean minInclusive, long maxIn, boolean maxInclusive)
Represents a single dimensional long range for RangeOnRange faceting
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.lucene.facet.rangeonrange.Range
failNoMatch, getLabelsFromRanges
-
-
-
-
Constructor Detail
-
LongRange
public LongRange(String label, long minIn, boolean minInclusive, long maxIn, boolean maxInclusive)
Represents a single dimensional long range for RangeOnRange faceting- Parameters:
label
- the name of the rangeminIn
- the minimumminInclusive
- if the minimum is inclusivemaxIn
- the maximummaxInclusive
- if the maximum is inclusive
-
LongRange
public LongRange(String label, long[] min, long[] max)
Represents a multidimensional long range for RangeOnRange faceting- Parameters:
label
- the name of the rangemin
- the minimum, inclusivemax
- the maximum, inclusive
-
-