Class Range
java.lang.Object
org.apache.lucene.facet.rangeonrange.Range
- Direct Known Subclasses:
DoubleRange
,LongRange
Base class for a single labeled range.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Invoke this for a useless range.protected static String[]
getLabelsFromRanges
(Range[] ranges) Gets a corresponding array of labels given a range
-
Field Details
-
label
Label that identifies this range. -
dims
public final int dimsNumber of dims per range
-
-
Constructor Details
-
Range
Sole constructor.
-
-
Method Details
-
failNoMatch
protected void failNoMatch()Invoke this for a useless range. -
getLabelsFromRanges
Gets a corresponding array of labels given a range
-