Class RangeOrdToLabel
java.lang.Object
org.apache.lucene.sandbox.facet.labels.RangeOrdToLabel
- All Implemented Interfaces:
OrdToLabel
OrdToLabel for ranges.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorsConstructorDescriptionRangeOrdToLabel(Range[] inputRanges) Constructor that takes array of Range objects as input -
Method Summary
-
Constructor Details
-
RangeOrdToLabel
Constructor that takes array of Range objects as input
-
-
Method Details
-
getLabel
Description copied from interface:OrdToLabelget label of one ord TODO: what do we return when ordinal is not valid? null?- Specified by:
getLabelin interfaceOrdToLabel
-
getLabels
Description copied from interface:OrdToLabelget labels for multiple ords- Specified by:
getLabelsin interfaceOrdToLabel
-