Class FacetCountsUtils
- java.lang.Object
-
- org.hibernate.search.backend.lucene.lowlevel.facet.impl.FacetCountsUtils
-
public class FacetCountsUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> org.apache.lucene.facet.range.LongRange[]createLongRangesForFloatingPointValues(Collection<? extends Range<? extends T>> ranges, ToLongFunction<T> encoder, T negativeInfinity, T positiveInfinity)static <T extends Number>
org.apache.lucene.facet.range.LongRange[]createLongRangesForIntegralValues(Collection<? extends Range<? extends T>> ranges)
-
-
-
Method Detail
-
createLongRangesForIntegralValues
public static <T extends Number> org.apache.lucene.facet.range.LongRange[] createLongRangesForIntegralValues(Collection<? extends Range<? extends T>> ranges)
-
createLongRangesForFloatingPointValues
public static <T> org.apache.lucene.facet.range.LongRange[] createLongRangesForFloatingPointValues(Collection<? extends Range<? extends T>> ranges, ToLongFunction<T> encoder, T negativeInfinity, T positiveInfinity)
-
-